Package org.apache.rampart
Class RampartMessageData
java.lang.Object
org.apache.rampart.RampartMessageData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringKey to hold the WSTimeSourcestatic final StringKey to hold the BSP compliancestatic final Stringstatic final Stringstatic final StringKey to hold the custom issued token identifierstatic final Stringstatic final Stringstatic final StringAxis2 parameter name to be used in the client's axis2 xmlstatic final Stringstatic final StringKey to hold the WS-SecConv versionstatic final StringKey to hold the WS-Trust versionstatic final Stringstatic final Stringstatic final StringKey to hold the populated RampartPolicyData objectstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringKey to hold username which was used to authenticatestatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionRampartMessageData(org.apache.axis2.context.MessageContext msgCtx, boolean sender) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wss4j.dom.engine.WSSConfigReturns the custom class loader if we are using oneorg.apache.axis2.context.MessageContextintorg.apache.wss4j.dom.message.WSSecHeaderorg.apache.neethi.Policyorg.apache.wss4j.dom.SOAPConstantsReturns anorg.apache.ws.security.SOAPConstantsinstance with soap version information of this request.intintintbooleanvoidsetConfig(org.apache.wss4j.dom.engine.WSSConfig config) voidsetIssuedEncryptionTokenId(String issuedEncryptionTokenId) voidsetIssuedSignatureTokenId(String issuedSignatureTokenId) voidsetSecConvTokenId(String secConvTokenId) voidsetSecHeader(org.apache.wss4j.dom.message.WSSecHeader secHeader) voidsetTimestampId(String timestampId) voidsetTimestampMaxSkew(int timestampMaxSkew) voidsetTimeToLive(int timeToLive) voidsetTokenStorage(TokenStorage tokenStorage)
-
Field Details
-
KEY_RAMPART_POLICY
Axis2 parameter name to be used in the client's axis2 xml- See Also:
-
KEY_RAMPART_IN_POLICY
- See Also:
-
KEY_RAMPART_OUT_POLICY
- See Also:
-
RAMPART_POLICY_DATA
Key to hold the populated RampartPolicyData object- See Also:
-
RAMPART_STS_POLICY
- See Also:
-
KEY_CUSTOM_ISSUED_TOKEN
Key to hold the custom issued token identifier- See Also:
-
USERNAME
Key to hold username which was used to authenticate- See Also:
-
SIGNATURE_CERT_ALIAS
- See Also:
-
KEY_WST_VERSION
Key to hold the WS-Trust version- See Also:
-
PARAM_CLIENT_SIDE
- See Also:
-
CUSTOM_WS_TIME_SOURCE
Key to hold the WSTimeSource- See Also:
-
DISABLE_BSP_ENFORCEMENT
Key to hold the BSP compliance- See Also:
-
TIMESTAMP_STRICT
- See Also:
-
TIMESTAMP_PRECISION_IN_MS
- See Also:
-
ALLOW_USERNAME_TOKEN_NO_PASSWORD
- See Also:
-
TIMESTAMP_FUTURE_TTL
- See Also:
-
UT_TTL
- See Also:
-
UT_FUTURE_TTL
- See Also:
-
HANDLE_CUSTOM_PASSWORD_TYPES
- See Also:
-
ALLOW_NAMESPACE_QUALIFIED_PASSWORDTYPES
- See Also:
-
ENCODE_PASSWORDS
- See Also:
-
VALIDATE_SAML_SUBJECT_CONFIRMATION
- See Also:
-
ALLOW_RSA15_KEY_TRANSPORT_ALGORITHM
- See Also:
-
KEY_WSSC_VERSION
Key to hold the WS-SecConv version- See Also:
-
KEY_SCT_ISSUER_POLICY
- See Also:
-
CANCEL_REQUEST
- See Also:
-
SCT_ID
- See Also:
-
X509_CERT
- See Also:
-
MUST_UNDERSTAND_SECURITY_HEADER
- See Also:
-
-
Constructor Details
-
RampartMessageData
public RampartMessageData(org.apache.axis2.context.MessageContext msgCtx, boolean sender) throws RampartException - Throws:
RampartException
-
-
Method Details
-
getDocument
- Returns:
- Returns the document.
-
getTimeToLive
public int getTimeToLive()- Returns:
- Returns the timeToLive.
-
setTimeToLive
public void setTimeToLive(int timeToLive) - Parameters:
timeToLive- The timeToLive to set.
-
getTimestampMaxSkew
public int getTimestampMaxSkew()- Returns:
- Returns the timestampMaxSkew.
-
setTimestampMaxSkew
public void setTimestampMaxSkew(int timestampMaxSkew) - Parameters:
timestampMaxSkew- The timestampMaxSkew to set.
-
getConfig
public org.apache.wss4j.dom.engine.WSSConfig getConfig()- Returns:
- Returns the config.
-
setConfig
public void setConfig(org.apache.wss4j.dom.engine.WSSConfig config) - Parameters:
config- The config to set.
-
getMsgContext
public org.apache.axis2.context.MessageContext getMsgContext()- Returns:
- Returns the msgContext.
-
getPolicyData
- Returns:
- Returns the policyData.
-
getSecHeader
public org.apache.wss4j.dom.message.WSSecHeader getSecHeader()- Returns:
- Returns the secHeader.
-
setSecHeader
public void setSecHeader(org.apache.wss4j.dom.message.WSSecHeader secHeader) - Parameters:
secHeader- The secHeader to set.
-
getIssuedEncryptionTokenId
- Returns:
- Returns the issuedEncryptionTokenId.
-
setIssuedEncryptionTokenId
- Parameters:
issuedEncryptionTokenId- The issuedEncryptionTokenId to set.
-
getIssuedSignatureTokenId
- Returns:
- Returns the issuedSignatureTokenId.
-
setIssuedSignatureTokenId
- Parameters:
issuedSignatureTokenId- The issuedSignatureTokenId to set.
-
getSecConvTokenId
- Returns:
- Returns the secConvTokenId.
-
setSecConvTokenId
- Parameters:
secConvTokenId- The secConvTokenId to set.
-
getTokenStorage
- Returns:
- Returns the tokenStorage.
- Throws:
RampartException- If an error occurs getting TokenStorage
-
setTokenStorage
- Parameters:
tokenStorage- The tokenStorage to set.
-
getWstVersion
public int getWstVersion()- Returns:
- Returns the wstVersion.
-
getSecConvVersion
public int getSecConvVersion()- Returns:
- Returns the secConvVersion.
-
getServicePolicy
public org.apache.neethi.Policy getServicePolicy()- Returns:
- Returns the servicePolicy.
-
getTimestampId
- Returns:
- Returns the timestampId.
-
setTimestampId
- Parameters:
timestampId- The timestampId to set.
-
isInitiator
public boolean isInitiator()- Returns:
- Returns the Initiator value
-
getCustomClassLoader
Returns the custom class loader if we are using one- Returns:
- Returns the custom class loader if we are using one
-
getSoapConstants
public org.apache.wss4j.dom.SOAPConstants getSoapConstants()Returns anorg.apache.ws.security.SOAPConstantsinstance with soap version information of this request.- Returns:
- Returns soap version information of this request
-