Class JwtDataSet

java.lang.Object
org.openehealth.ipf.commons.audit.JwtDataSet
All Implemented Interfaces:
Serializable

public class JwtDataSet extends Object implements 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 Details

    • JwtDataSet

      public JwtDataSet()
  • Method Details

    • opaque

      public static JwtDataSet 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

      public String getIssuer()
    • getSubject

      public String getSubject()
    • getAudience

      public String getAudience()
    • getJwtId

      public String getJwtId()
    • getClientId

      public String getClientId()
    • getIheIuaSubjectName

      public String getIheIuaSubjectName()
    • getIheIuaSubjectOrganization

      public String getIheIuaSubjectOrganization()
    • getIheIuaSubjectOrganizationId

      public String getIheIuaSubjectOrganizationId()
    • getIheIuaSubjectRole

      public Set<String> getIheIuaSubjectRole()
    • getIheIuaPurposeOfUse

      public Set<String> getIheIuaPurposeOfUse()
    • getIheIuaHomeCommunityId

      public String getIheIuaHomeCommunityId()
    • getIheIuaNationalProviderIdentifier

      public String getIheIuaNationalProviderIdentifier()
    • getIheIuaPersonId

      public String getIheIuaPersonId()
    • getIheBppcPatientId

      public String getIheBppcPatientId()
    • getIheBppcDocId

      public String getIheBppcDocId()
    • getIheBppcAcp

      public String 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

      public void setIssuer(String issuer)
    • setSubject

      public void setSubject(String subject)
    • setAudience

      public void setAudience(String audience)
    • setJwtId

      public void setJwtId(String jwtId)
    • setClientId

      public void setClientId(String clientId)
    • setIheIuaSubjectName

      public void setIheIuaSubjectName(String iheIuaSubjectName)
    • setIheIuaSubjectOrganization

      public void setIheIuaSubjectOrganization(String iheIuaSubjectOrganization)
    • setIheIuaSubjectOrganizationId

      public void setIheIuaSubjectOrganizationId(String iheIuaSubjectOrganizationId)
    • setIheIuaSubjectRole

      public void setIheIuaSubjectRole(Set<String> iheIuaSubjectRole)
    • setIheIuaPurposeOfUse

      public void setIheIuaPurposeOfUse(Set<String> iheIuaPurposeOfUse)
    • setIheIuaHomeCommunityId

      public void setIheIuaHomeCommunityId(String iheIuaHomeCommunityId)
    • setIheIuaNationalProviderIdentifier

      public void setIheIuaNationalProviderIdentifier(String iheIuaNationalProviderIdentifier)
    • setIheIuaPersonId

      public void setIheIuaPersonId(String iheIuaPersonId)
    • setIheBppcPatientId

      public void setIheBppcPatientId(String iheBppcPatientId)
    • setIheBppcDocId

      public void setIheBppcDocId(String iheBppcDocId)
    • setIheBppcAcp

      public void setIheBppcAcp(String iheBppcAcp)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object