Class JwtDataSet
java.lang.Object
org.openehealth.ipf.commons.audit.JwtDataSet
- All Implemented Interfaces:
Serializable
The claims extracted from an access token, named after the IUA and BPPC claims they carry. Nothing
about them is specific to an audit format: they are kept next to the audit message so that whoever
renders it can build from the claims themselves, rather than reverse-engineering them from the ATNA
participants the claims were encoded into.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetJwtId()inthashCode()booleanisOpaque()Whether the request carried an access token the audit source could not look into -- a reference token, or one encrypted to somebody else.static JwtDataSetopaque()voidsetAudience(String audience) voidsetClientId(String clientId) voidsetIheBppcAcp(String iheBppcAcp) voidsetIheBppcDocId(String iheBppcDocId) voidsetIheBppcPatientId(String iheBppcPatientId) voidsetIheIuaHomeCommunityId(String iheIuaHomeCommunityId) voidsetIheIuaNationalProviderIdentifier(String iheIuaNationalProviderIdentifier) voidsetIheIuaPersonId(String iheIuaPersonId) voidsetIheIuaPurposeOfUse(Set<String> iheIuaPurposeOfUse) voidsetIheIuaSubjectName(String iheIuaSubjectName) voidsetIheIuaSubjectOrganization(String iheIuaSubjectOrganization) voidsetIheIuaSubjectOrganizationId(String iheIuaSubjectOrganizationId) voidsetIheIuaSubjectRole(Set<String> iheIuaSubjectRole) voidvoidvoidsetOpaque(boolean opaque) Whether the request carried an access token the audit source could not look into -- a reference token, or one encrypted to somebody else.voidsetSubject(String subject) toString()
-
Constructor Details
-
JwtDataSet
public JwtDataSet()
-
-
Method Details
-
opaque
- Returns:
- a data set standing for an access token that was presented but could not be looked into
-
isOpaque
public boolean isOpaque()Whether the request carried an access token the audit source could not look into -- a reference token, or one encrypted to somebody else. All that can be recorded of such a token is that it was there; every other field stays empty. The token itself is deliberately not kept: it is a credential, and an audit record is not the place for one. -
getIssuer
-
getSubject
-
getAudience
-
getJwtId
-
getClientId
-
getIheIuaSubjectName
-
getIheIuaSubjectOrganization
-
getIheIuaSubjectOrganizationId
-
getIheIuaSubjectRole
-
getIheIuaPurposeOfUse
-
getIheIuaHomeCommunityId
-
getIheIuaNationalProviderIdentifier
-
getIheIuaPersonId
-
getIheBppcPatientId
-
getIheBppcDocId
-
getIheBppcAcp
-
setOpaque
public void setOpaque(boolean opaque) Whether the request carried an access token the audit source could not look into -- a reference token, or one encrypted to somebody else. All that can be recorded of such a token is that it was there; every other field stays empty. The token itself is deliberately not kept: it is a credential, and an audit record is not the place for one. -
setIssuer
-
setSubject
-
setAudience
-
setJwtId
-
setClientId
-
setIheIuaSubjectName
-
setIheIuaSubjectOrganization
-
setIheIuaSubjectOrganizationId
-
setIheIuaSubjectRole
-
setIheIuaPurposeOfUse
-
setIheIuaHomeCommunityId
-
setIheIuaNationalProviderIdentifier
-
setIheIuaPersonId
-
setIheBppcPatientId
-
setIheBppcDocId
-
setIheBppcAcp
-
equals
-
canEqual
-
hashCode
-
toString
-