public class RampartMessageData extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_REQUEST |
static String |
KEY_CUSTOM_ISSUED_TOKEN
Key to hold the custom issued token identifier
|
static String |
KEY_RAMPART_IN_POLICY |
static String |
KEY_RAMPART_OUT_POLICY |
static String |
KEY_RAMPART_POLICY
Axis2 parameter name to be used in the client's axis2 xml
|
static String |
KEY_SCT_ISSUER_POLICY |
static String |
KEY_WSSC_VERSION
Key to hold the WS-SecConv version
|
static String |
KEY_WST_VERSION
Key to hold the WS-Trust version
|
static String |
PARAM_CLIENT_SIDE |
static String |
RAMPART_POLICY_DATA
Key to hold the populated RampartPolicyData object
|
static String |
RAMPART_STS_POLICY |
static String |
SCT_ID |
static String |
SIGNATURE_CERT_ALIAS |
static String |
USERNAME
Key to hold username which was used to authenticate
|
static String |
X509_CERT |
Constructor and Description |
---|
RampartMessageData(org.apache.axis2.context.MessageContext msgCtx,
boolean sender) |
Modifier and Type | Method and Description |
---|---|
org.apache.ws.security.WSSConfig |
getConfig() |
ClassLoader |
getCustomClassLoader()
Returns the custom class loader if we are using one
|
Document |
getDocument() |
String |
getIssuedEncryptionTokenId() |
String |
getIssuedSignatureTokenId() |
org.apache.axis2.context.MessageContext |
getMsgContext() |
RampartPolicyData |
getPolicyData() |
String |
getSecConvTokenId() |
int |
getSecConvVersion() |
org.apache.ws.security.message.WSSecHeader |
getSecHeader() |
org.apache.neethi.Policy |
getServicePolicy() |
org.apache.ws.security.SOAPConstants |
getSoapConstants()
Returns an
org.apache.ws.security.SOAPConstants instance
with soap version information of this request. |
String |
getTimestampId() |
int |
getTimestampMaxSkew() |
int |
getTimeToLive() |
TokenStorage |
getTokenStorage() |
int |
getWstVersion() |
boolean |
isInitiator() |
void |
setConfig(org.apache.ws.security.WSSConfig config) |
void |
setDocument(Document document)
Deprecated.
document is derived from MessageContext passed in constructor
|
void |
setIssuedEncryptionTokenId(String issuedEncryptionTokenId) |
void |
setIssuedSignatureTokenId(String issuedSignatureTokenId) |
void |
setMsgContext(org.apache.axis2.context.MessageContext msgContext)
Deprecated.
MessageContext is set in constructor
|
void |
setPolicyData(RampartPolicyData policyData)
Deprecated.
Policy data determined within constructor
|
void |
setSecConvTokenId(String secConvTokenId) |
void |
setSecHeader(org.apache.ws.security.message.WSSecHeader secHeader) |
void |
setServicePolicy(org.apache.neethi.Policy servicePolicy)
Deprecated.
servicePolicy determined in constructor
|
void |
setTimestampId(String timestampId) |
void |
setTimestampMaxSkew(int timestampMaxSkew) |
void |
setTimeToLive(int timeToLive) |
void |
setTokenStorage(TokenStorage tokenStorage) |
void |
setWstVersion(int wstVersion)
Deprecated.
This is defined by the class.
|
public static final String KEY_RAMPART_POLICY
public static final String KEY_RAMPART_IN_POLICY
public static final String KEY_RAMPART_OUT_POLICY
public static final String RAMPART_POLICY_DATA
public static final String RAMPART_STS_POLICY
public static final String KEY_CUSTOM_ISSUED_TOKEN
public static final String USERNAME
public static final String SIGNATURE_CERT_ALIAS
public static final String KEY_WST_VERSION
public static final String PARAM_CLIENT_SIDE
public static final String KEY_WSSC_VERSION
public static final String KEY_SCT_ISSUER_POLICY
public static final String CANCEL_REQUEST
public static final String SCT_ID
public static final String X509_CERT
public RampartMessageData(org.apache.axis2.context.MessageContext msgCtx, boolean sender) throws RampartException
RampartException
public Document getDocument()
public void setDocument(Document document)
document
- The document to set.public int getTimeToLive()
public void setTimeToLive(int timeToLive)
timeToLive
- The timeToLive to set.public int getTimestampMaxSkew()
public void setTimestampMaxSkew(int timestampMaxSkew)
timestampMaxSkew
- The timestampMaxSkew to set.public org.apache.ws.security.WSSConfig getConfig()
public void setConfig(org.apache.ws.security.WSSConfig config)
config
- The config to set.public org.apache.axis2.context.MessageContext getMsgContext()
public void setMsgContext(org.apache.axis2.context.MessageContext msgContext)
msgContext
- The msgContext to set.public RampartPolicyData getPolicyData()
public void setPolicyData(RampartPolicyData policyData) throws RampartException
policyData
- The policyData to set.RampartException
public org.apache.ws.security.message.WSSecHeader getSecHeader()
public void setSecHeader(org.apache.ws.security.message.WSSecHeader secHeader)
secHeader
- The secHeader to set.public String getIssuedEncryptionTokenId()
public void setIssuedEncryptionTokenId(String issuedEncryptionTokenId)
issuedEncryptionTokenId
- The issuedEncryptionTokenId to set.public String getIssuedSignatureTokenId()
public void setIssuedSignatureTokenId(String issuedSignatureTokenId)
issuedSignatureTokenId
- The issuedSignatureTokenId to set.public String getSecConvTokenId()
public void setSecConvTokenId(String secConvTokenId)
secConvTokenId
- The secConvTokenId to set.public TokenStorage getTokenStorage() throws RampartException
RampartException
public void setTokenStorage(TokenStorage tokenStorage)
tokenStorage
- The tokenStorage to set.public int getWstVersion()
public void setWstVersion(int wstVersion)
wstVersion
- The wstVersion to set.public int getSecConvVersion()
public org.apache.neethi.Policy getServicePolicy()
public void setServicePolicy(org.apache.neethi.Policy servicePolicy)
servicePolicy
- The servicePolicy to set.public String getTimestampId()
public void setTimestampId(String timestampId)
timestampId
- The timestampId to set.public boolean isInitiator()
public ClassLoader getCustomClassLoader()
public org.apache.ws.security.SOAPConstants getSoapConstants()
org.apache.ws.security.SOAPConstants
instance
with soap version information of this request.Copyright © Apache Software Foundation. All Rights Reserved.