Class BasicXuaProcessor
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.xua.BasicXuaProcessor
-
- All Implemented Interfaces:
GroovyObject
,XuaProcessor
public class BasicXuaProcessor extends Object implements XuaProcessor, GroovyObject
-
-
Field Summary
-
Fields inherited from interface org.openehealth.ipf.commons.ihe.ws.cxf.audit.XuaProcessor
NOOP
-
-
Constructor Summary
Constructors Constructor Description BasicXuaProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enrichAuditDatasetFromXuaToken(SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset)
Enriches the given audit dataset with elements from the XUA token (SAML2 assertion) contained in the given CXF message.MetaClass
getMetaClass()
static String
getPATIENT_ID_ATTRIBUTE_NAME()
static String
getPURPOSE_OF_USE_ATTRIBUTE_NAME()
static String
getSAML20_NS()
static String
getSUBJECT_NAME_ATTRIBUTE_NAME()
static String
getSUBJECT_ROLE_ATTRIBUTE_NAME()
static String
getSWISS_USER_ROLE_OID()
static String
getWSSE_NS()
static String
getXUA_SAML_ASSERTION()
void
setMetaClass(MetaClass mc)
-
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
-
-
-
-
Method Detail
-
getMetaClass
public MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
public void setMetaClass(MetaClass mc)
- Specified by:
setMetaClass
in interfaceGroovyObject
-
getXUA_SAML_ASSERTION
public static String getXUA_SAML_ASSERTION()
-
getWSSE_NS
public static String getWSSE_NS()
-
getSAML20_NS
public static String getSAML20_NS()
-
getSWISS_USER_ROLE_OID
public static String getSWISS_USER_ROLE_OID()
-
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()
-
enrichAuditDatasetFromXuaToken
public void enrichAuditDatasetFromXuaToken(SoapMessage message, Header.Direction headerDirection, WsAuditDataset auditDataset)
Description copied from interface:XuaProcessor
Enriches the given audit dataset with elements from the XUA token (SAML2 assertion) contained in the given CXF message.- Specified by:
enrichAuditDatasetFromXuaToken
in interfaceXuaProcessor
- Parameters:
message
- source CXF message.headerDirection
- direction of the header containing the SAML2 assertion.auditDataset
- target ATNA audit dataset.
-
-