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
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.audit.WsAuditDatasetEnricher
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
conditionallyAddHumanUser
(AuditDataset.HumanUser humanUser, WsAuditDataset auditDataset) void
enrichAuditDatasetFromRequest
(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset) Enriches the given audit dataset with elements from the given CXF request message.void
enrichAuditDatasetFromResponse
(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset) Enriches the given audit dataset with elements from the given CXF response message.protected static GPathResult
extractXuaToken
(org.apache.cxf.binding.soap.SoapMessage message, Header.Direction headerDirection) protected static void
extractXuaTokenElements
(GPathResult xuaToken, WsAuditDataset auditDataset) static String
static String
static String
static String
static String
static String
static String
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
XuaWsAuditDatasetEnricher
public XuaWsAuditDatasetEnricher()
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
-
getXUA_SAML_ASSERTION
-
getWSSE_NS
-
getSAML20_NS
-
getPURPOSE_OF_USE_ATTRIBUTE_NAME
-
getSUBJECT_NAME_ATTRIBUTE_NAME
-
getSUBJECT_ROLE_ATTRIBUTE_NAME
-
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 interfaceWsAuditDatasetEnricher
- 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 interfaceWsAuditDatasetEnricher
- 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
-
conditionallyAddHumanUser
protected static void conditionallyAddHumanUser(AuditDataset.HumanUser humanUser, WsAuditDataset auditDataset)
-