Class XuaWsAuditDatasetEnricher

java.lang.Object
org.openehealth.ipf.commons.ihe.ws.cxf.audit.XuaWsAuditDatasetEnricher
All Implemented Interfaces:
GroovyObject, WsAuditDatasetEnricher, WsAuditDatasetEnricher
Direct Known Subclasses:
SwissEprWsAuditDatasetEnricher

public class XuaWsAuditDatasetEnricher extends Object implements WsAuditDatasetEnricher, GroovyObject
  • Constructor Details

    • XuaWsAuditDatasetEnricher

      public XuaWsAuditDatasetEnricher()
  • Method Details

    • getMetaClass

      public MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface GroovyObject
    • setMetaClass

      public void setMetaClass(MetaClass mc)
      Specified by:
      setMetaClass in interface GroovyObject
    • getXUA_SAML_ASSERTION

      public static String getXUA_SAML_ASSERTION()
    • getWSSE_NS

      public static String getWSSE_NS()
    • getSAML20_NS

      public static String getSAML20_NS()
    • getPURPOSE_OF_USE_ATTRIBUTE_NAME

      public static String getPURPOSE_OF_USE_ATTRIBUTE_NAME()
    • getSUBJECT_NAME_ATTRIBUTE_NAME

      public static String getSUBJECT_NAME_ATTRIBUTE_NAME()
    • getSUBJECT_ROLE_ATTRIBUTE_NAME

      public static String getSUBJECT_ROLE_ATTRIBUTE_NAME()
    • getPATIENT_ID_ATTRIBUTE_NAME

      public static String getPATIENT_ID_ATTRIBUTE_NAME()
    • enrichAuditDatasetFromRequest

      public void enrichAuditDatasetFromRequest(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset)
      Description copied from interface: WsAuditDatasetEnricher
      Enriches the given audit dataset with elements from the given CXF request message.
      Specified by:
      enrichAuditDatasetFromRequest in interface WsAuditDatasetEnricher
      Parameters:
      message - CXF request message.
      headerDirection - direction of SOAP headers.
      auditDataset - target ATNA audit dataset.
    • enrichAuditDatasetFromResponse

      public void enrichAuditDatasetFromResponse(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset)
      Description copied from interface: WsAuditDatasetEnricher
      Enriches the given audit dataset with elements from the given CXF response message.
      Specified by:
      enrichAuditDatasetFromResponse in interface WsAuditDatasetEnricher
      Parameters:
      message - CXF response message.
      headerDirection - direction of SOAP headers.
      auditDataset - target ATNA audit dataset.
    • extractXuaToken

      protected static GPathResult extractXuaToken(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection)
    • extractXuaTokenElements

      protected static void extractXuaTokenElements(GPathResult xuaToken, WsAuditDataset auditDataset)
    • conditionallyAddHumanUser

      protected static void conditionallyAddHumanUser(AuditDataset.HumanUser humanUser, WsAuditDataset auditDataset)