org.apache.rampart
Class RampartMessageData
java.lang.Object
org.apache.rampart.RampartMessageData
- public class RampartMessageData
- extends Object
Constructor Summary |
RampartMessageData(org.apache.axis2.context.MessageContext msgCtx,
boolean sender)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_RAMPART_POLICY
public static final String KEY_RAMPART_POLICY
- Axis2 parameter name to be used in the client's axis2 xml
- See Also:
- Constant Field Values
KEY_ISSUER_ADDRESS
public static final String KEY_ISSUER_ADDRESS
- Key to hold the address of the issuer in the msg ctx.
- See Also:
- Constant Field Values
KEY_WST_VERSION
public static final String KEY_WST_VERSION
- Key to hold the WS-Trust version
- See Also:
- Constant Field Values
KEY_WSSC_VERSION
public static final String KEY_WSSC_VERSION
- Key to hold the WS-SecConv version
- See Also:
- Constant Field Values
KEY_SCT_ISSUER_POLICY
public static final String KEY_SCT_ISSUER_POLICY
- See Also:
- Constant Field Values
CANCEL_REQUEST
public static final String CANCEL_REQUEST
- See Also:
- Constant Field Values
SCT_ID
public static final String SCT_ID
- See Also:
- Constant Field Values
RampartMessageData
public RampartMessageData(org.apache.axis2.context.MessageContext msgCtx,
boolean sender)
throws RampartException
getDocument
public Document getDocument()
- Returns:
- Returns the document.
setDocument
public void setDocument(Document document)
- Parameters:
document
- The document to set.
getTimeToLive
public int getTimeToLive()
- Returns:
- Returns the timeToLive.
setTimeToLive
public void setTimeToLive(int timeToLive)
- Parameters:
timeToLive
- The timeToLive to set.
getConfig
public org.apache.ws.security.WSSConfig getConfig()
- Returns:
- Returns the config.
setConfig
public void setConfig(org.apache.ws.security.WSSConfig config)
- Parameters:
config
- The config to set.
getMsgContext
public org.apache.axis2.context.MessageContext getMsgContext()
- Returns:
- Returns the msgContext.
setMsgContext
public void setMsgContext(org.apache.axis2.context.MessageContext msgContext)
- Parameters:
msgContext
- The msgContext to set.
getPolicyData
public RampartPolicyData getPolicyData()
- Returns:
- Returns the policyData.
setPolicyData
public void setPolicyData(RampartPolicyData policyData)
throws RampartException
- Parameters:
policyData
- The policyData to set.
- Throws:
RampartException
getSecHeader
public org.apache.ws.security.message.WSSecHeader getSecHeader()
- Returns:
- Returns the secHeader.
setSecHeader
public void setSecHeader(org.apache.ws.security.message.WSSecHeader secHeader)
- Parameters:
secHeader
- The secHeader to set.
getIssuedEncryptionTokenId
public String getIssuedEncryptionTokenId()
- Returns:
- Returns the issuedEncryptionTokenId.
setIssuedEncryptionTokenId
public void setIssuedEncryptionTokenId(String issuedEncryptionTokenId)
- Parameters:
issuedEncryptionTokenId
- The issuedEncryptionTokenId to set.
getIssuedSignatureTokenId
public String getIssuedSignatureTokenId()
- Returns:
- Returns the issuedSignatureTokenId.
setIssuedSignatureTokenId
public void setIssuedSignatureTokenId(String issuedSignatureTokenId)
- Parameters:
issuedSignatureTokenId
- The issuedSignatureTokenId to set.
getSecConvTokenId
public String getSecConvTokenId()
- Returns:
- Returns the secConvTokenId.
setSecConvTokenId
public void setSecConvTokenId(String secConvTokenId)
- Parameters:
secConvTokenId
- The secConvTokenId to set.
getTokenStorage
public TokenStorage getTokenStorage()
throws RampartException
- Returns:
- Returns the tokenStorage.
- Throws:
RampartException
setTokenStorage
public void setTokenStorage(TokenStorage tokenStorage)
- Parameters:
tokenStorage
- The tokenStorage to set.
getWstVersion
public int getWstVersion()
- Returns:
- Returns the wstVerion.
setWstVersion
public void setWstVersion(int wstVerion)
- Parameters:
wstVerion
- The wstVerion to set.
getSecConvVersion
public int getSecConvVersion()
- Returns:
- Returns the secConvVersion.
getServicePolicy
public org.apache.neethi.Policy getServicePolicy()
- Returns:
- Returns the servicePolicy.
setServicePolicy
public void setServicePolicy(org.apache.neethi.Policy servicePolicy)
- Parameters:
servicePolicy
- The servicePolicy to set.
getOperationPolicyKey
public static String getOperationPolicyKey(org.apache.axis2.context.MessageContext msgCtx)
- Parameters:
msgCtx
-
- Returns:
- The key to store/pickup policy of an operation
getServicePolicyKey
public static String getServicePolicyKey(org.apache.axis2.context.MessageContext msgCtx)
createPolicyKey
public static String createPolicyKey(String service,
QName operation)
getTimestampId
public String getTimestampId()
- Returns:
- Returns the timestampId.
setTimestampId
public void setTimestampId(String timestampId)
- Parameters:
timestampId
- The timestampId to set.
isClientSide
public boolean isClientSide()
- Returns:
- Returns the isClientSide.
getCustomClassLoader
public ClassLoader getCustomClassLoader()
getSoapConstants
public org.apache.ws.security.SOAPConstants getSoapConstants()