Class WsAuditDataset
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
-
- org.openehealth.ipf.commons.ihe.ws.cxf.audit.WsAuditDataset
-
- All Implemented Interfaces:
Serializable
public class WsAuditDataset extends AuditDataset
A data structure that contains various ATNA audit information pieces common for all Web Service-based IHE transactions.These pieces are stored and used by corresponding CXF interceptors and transaction-specific audit strategies.
- Author:
- Dmytro Rud
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
AuditDataset.HumanUser
-
-
Constructor Summary
Constructors Constructor Description WsAuditDataset(boolean serverSide)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientIpAddress()Client IP address.StringgetDestinationUserId()Server user ID (SOAP endpoint)List<AuditDataset.HumanUser>getHumanUsers()IDs and real-world names of human users.StringgetLocalAddress()org.openehealth.ipf.commons.audit.types.PurposeOfUse[]getPurposesOfUse()Purposes of use, see ITI TF-2a section 3.20.7.8 and ITI TF-2b section 3.40.4.1.2.3.StringgetRemoteAddress()Remote addressStringgetRequestPayload()Request SOAP Body (XML) payload.StringgetSourceUserId()Client user ID (WS-Addressing <Reply-To> header).StringgetXuaPatientId()Patient ID from XUA token, see ITI TF-2b Section 3.40.4.1.2.2.1.booleanisSourceUserIsRequestor()voidsetClientIpAddress(String clientIpAddress)Client IP address.voidsetDestinationUserId(String destinationUserId)Server user ID (SOAP endpoint)voidsetLocalAddress(String localAddress)Local addressvoidsetPurposesOfUse(org.openehealth.ipf.commons.audit.types.PurposeOfUse[] purposesOfUse)Purposes of use, see ITI TF-2a section 3.20.7.8 and ITI TF-2b section 3.40.4.1.2.3.voidsetRemoteAddress(String remoteAddress)Remote addressvoidsetRequestPayload(String requestPayload)Sets the request SOAP Body (XML) payload.voidsetRequestPayload(StringPayloadHolder payloadHolder)Sets the request SOAP Body (XML) payload.voidsetSourceUserId(String sourceUserId)Client user ID (WS-Addressing <Reply-To> header).voidsetSourceUserIsRequestor(boolean sourceUserIsRequestor)voidsetXuaPatientId(String xuaPatientId)Patient ID from XUA token, see ITI TF-2b Section 3.40.4.1.2.2.1.-
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
getEventOutcomeDescription, getEventOutcomeIndicator, getSourceUserName, isDestinationUserIsRequestor, isServerSide, setEventOutcomeDescription, setEventOutcomeIndicator, setSourceUserName, toString
-
-
-
-
Method Detail
-
setRequestPayload
public void setRequestPayload(String requestPayload)
Sets the request SOAP Body (XML) payload.- Parameters:
requestPayload- SOAP Body (XML) payload.
-
setRequestPayload
public void setRequestPayload(StringPayloadHolder payloadHolder)
Sets the request SOAP Body (XML) payload.- Parameters:
payloadHolder- POJO containing SOAP Body (XML) payload.
-
getLocalAddress
public String getLocalAddress()
- Specified by:
getLocalAddressin classAuditDataset- Returns:
- The machine name or IP address
-
isSourceUserIsRequestor
public boolean isSourceUserIsRequestor()
- Overrides:
isSourceUserIsRequestorin classAuditDataset
-
getSourceUserId
public String getSourceUserId()
Client user ID (WS-Addressing <Reply-To> header).- Specified by:
getSourceUserIdin classAuditDataset
-
setSourceUserId
public void setSourceUserId(String sourceUserId)
Client user ID (WS-Addressing <Reply-To> header).
-
getDestinationUserId
public String getDestinationUserId()
Server user ID (SOAP endpoint)- Specified by:
getDestinationUserIdin classAuditDataset
-
setDestinationUserId
public void setDestinationUserId(String destinationUserId)
Server user ID (SOAP endpoint)
-
getRequestPayload
public String getRequestPayload()
Request SOAP Body (XML) payload.
-
getHumanUsers
public List<AuditDataset.HumanUser> getHumanUsers()
IDs and real-world names of human users.- Specified by:
getHumanUsersin classAuditDataset
-
getClientIpAddress
public String getClientIpAddress()
Client IP address.
-
setClientIpAddress
public void setClientIpAddress(String clientIpAddress)
Client IP address.
-
getPurposesOfUse
public org.openehealth.ipf.commons.audit.types.PurposeOfUse[] getPurposesOfUse()
Purposes of use, see ITI TF-2a section 3.20.7.8 and ITI TF-2b section 3.40.4.1.2.3.
-
setPurposesOfUse
public void setPurposesOfUse(org.openehealth.ipf.commons.audit.types.PurposeOfUse[] purposesOfUse)
Purposes of use, see ITI TF-2a section 3.20.7.8 and ITI TF-2b section 3.40.4.1.2.3.
-
getXuaPatientId
public String getXuaPatientId()
Patient ID from XUA token, see ITI TF-2b Section 3.40.4.1.2.2.1.
-
setXuaPatientId
public void setXuaPatientId(String xuaPatientId)
Patient ID from XUA token, see ITI TF-2b Section 3.40.4.1.2.2.1.
-
setLocalAddress
public void setLocalAddress(String localAddress)
Local address
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
Remote address
-
getRemoteAddress
public String getRemoteAddress()
Remote address- Specified by:
getRemoteAddressin classAuditDataset
-
setSourceUserIsRequestor
public void setSourceUserIsRequestor(boolean sourceUserIsRequestor)
-
-