public class RequestData extends Object
| Constructor and Description |
|---|
RequestData() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
getActor() |
AlgorithmSuite |
getAlgorithmSuite() |
CallbackHandler |
getAttachmentCallbackHandler() |
List<String> |
getAudienceRestrictions()
Get the Audience Restrictions
|
BSPEnforcer |
getBSPEnforcer() |
CallbackHandler |
getCallbackHandler()
Returns the CallbackHandler used for this request.
|
Crypto |
getDecCrypto() |
int |
getDerivedKeyIterations()
Get the derived key iterations.
|
String |
getDerivedKeyTokenReference() |
EncryptionActionToken |
getEncryptionToken() |
List<BSPRule> |
getIgnoredBSPRules() |
Object |
getMsgContext() |
ReplayCache |
getNonceReplayCache()
Get the replay cache for Nonces
|
int |
getOriginalSignatureActionPosition() |
PasswordEncryptor |
getPasswordEncryptor() |
String |
getPwType() |
AlgorithmSuite |
getSamlAlgorithmSuite() |
ReplayCache |
getSamlOneTimeUseReplayCache()
Get the replay cache for SAML2 OneTimeUse Assertions
|
WSSecHeader |
getSecHeader() |
SignatureActionToken |
getSignatureToken() |
List<byte[]> |
getSignatureValues() |
Crypto |
getSigVerCrypto() |
SOAPConstants |
getSoapConstants() |
Collection<Pattern> |
getSubjectCertConstraints()
Get the Signature Subject Cert Constraints
|
ReplayCache |
getTimestampReplayCache()
Get the replay cache for Timestamps
|
int |
getTimeToLive() |
Certificate[] |
getTlsCerts() |
String |
getUsername() |
Validator |
getValidator(QName qName)
Get the Validator instance corresponding to the QName
|
WSSConfig |
getWssConfig() |
boolean |
isAddUsernameTokenCreated() |
boolean |
isAddUsernameTokenNonce() |
boolean |
isAllowRSA15KeyTransportAlgorithm() |
boolean |
isAppendSignatureAfterTimestamp() |
boolean |
isDisableBSPEnforcement() |
boolean |
isEnableNonceReplayCache()
Deprecated.
|
boolean |
isEnableSamlOneTimeUseReplayCache()
Deprecated.
|
boolean |
isEnableTimestampReplayCache()
Deprecated.
|
boolean |
isExpandXopIncludeForSignature() |
boolean |
isRequireSignedEncryptedDataElements() |
boolean |
isRequireTimestampExpires() |
boolean |
isRevocationEnabled()
Get whether to enable CRL checking or not when verifying trust in a certificate.
|
boolean |
isStoreBytesInAttachment() |
boolean |
isUse200512Namespace() |
boolean |
isUseDerivedKeyForMAC()
Whether to use the derived key for a MAC.
|
void |
setActor(String actor) |
void |
setAddUsernameTokenCreated(boolean addUsernameTokenCreated) |
void |
setAddUsernameTokenNonce(boolean addUsernameTokenNonce) |
void |
setAlgorithmSuite(AlgorithmSuite algorithmSuite) |
void |
setAllowRSA15KeyTransportAlgorithm(boolean allowRSA15KeyTransportAlgorithm) |
void |
setAppendSignatureAfterTimestamp(boolean appendSignatureAfterTimestamp) |
void |
setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler) |
void |
setAudienceRestrictions(List<String> audienceRestrictions)
Set the Audience Restrictions
|
void |
setCallbackHandler(CallbackHandler cb)
Sets the CallbackHandler used for this request
|
void |
setDecCrypto(Crypto decCrypto) |
void |
setDerivedKeyIterations(int iterations)
Set the derived key iterations.
|
void |
setDerivedKeyTokenReference(String derivedKeyTokenReference) |
void |
setDisableBSPEnforcement(boolean disableBSPEnforcement) |
void |
setEnableNonceReplayCache(boolean enableNonceReplayCache)
Deprecated.
|
void |
setEnableRevocation(boolean enableRevocation)
Set whether to enable CRL checking or not when verifying trust in a certificate.
|
void |
setEnableSamlOneTimeUseReplayCache(boolean enableSamlOneTimeUseReplayCache)
Deprecated.
|
void |
setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
Deprecated.
|
void |
setEncryptionToken(EncryptionActionToken encryptionToken) |
void |
setExpandXopIncludeForSignature(boolean expandXopIncludeForSignature) |
void |
setIgnoredBSPRules(List<BSPRule> bspRules) |
void |
setMsgContext(Object msgContext) |
void |
setNonceReplayCache(ReplayCache newCache)
Set the replay cache for Nonces
|
void |
setOriginalSignatureActionPosition(int originalSignatureActionPosition) |
void |
setPasswordEncryptor(PasswordEncryptor passwordEncryptor) |
void |
setPwType(String pwType) |
void |
setRequireSignedEncryptedDataElements(boolean requireSignedEncryptedDataElements)
Configure the engine to verify that EncryptedData elements
are in a signed subtree of the document.
|
void |
setRequireTimestampExpires(boolean requireTimestampExpires) |
void |
setSamlAlgorithmSuite(AlgorithmSuite samlAlgorithmSuite) |
void |
setSamlOneTimeUseReplayCache(ReplayCache newCache)
Set the replay cache for SAML2 OneTimeUse Assertions
|
void |
setSecHeader(WSSecHeader secHeader) |
void |
setSignatureToken(SignatureActionToken signatureToken) |
void |
setSigVerCrypto(Crypto sigVerCrypto) |
void |
setSoapConstants(SOAPConstants soapConstants) |
void |
setStoreBytesInAttachment(boolean storeBytesInAttachment) |
void |
setSubjectCertConstraints(Collection<Pattern> subjectCertConstraints)
Set the Signature Subject Cert Constraints
|
void |
setTimestampReplayCache(ReplayCache newCache)
Set the replay cache for Timestamps
|
void |
setTimeToLive(int timeToLive) |
void |
setTlsCerts(Certificate[] tlsCerts) |
void |
setUse200512Namespace(boolean use200512Namespace) |
void |
setUseDerivedKeyForMAC(boolean useMac)
Whether to use the derived key for a MAC.
|
void |
setUsername(String username) |
void |
setWssConfig(WSSConfig wssConfig) |
public void clear()
@Deprecated public boolean isEnableTimestampReplayCache()
@Deprecated public void setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
@Deprecated public boolean isEnableNonceReplayCache()
@Deprecated public void setEnableNonceReplayCache(boolean enableNonceReplayCache)
public Object getMsgContext()
public void setMsgContext(Object msgContext)
public SOAPConstants getSoapConstants()
public void setSoapConstants(SOAPConstants soapConstants)
public String getActor()
public void setActor(String actor)
public String getUsername()
public void setUsername(String username)
public String getPwType()
public void setPwType(String pwType)
public Crypto getSigVerCrypto()
public void setSigVerCrypto(Crypto sigVerCrypto)
public Crypto getDecCrypto()
public void setDecCrypto(Crypto decCrypto)
public int getTimeToLive()
public void setTimeToLive(int timeToLive)
public WSSConfig getWssConfig()
public void setWssConfig(WSSConfig wssConfig)
wssConfig - The wssConfig to set.public List<byte[]> getSignatureValues()
public WSSecHeader getSecHeader()
public void setSecHeader(WSSecHeader secHeader)
secHeader - The secHeader to set.public void setDerivedKeyIterations(int iterations)
iterations - The number of iterations to use when deriving a keypublic int getDerivedKeyIterations()
public void setUseDerivedKeyForMAC(boolean useMac)
useMac - Whether to use the derived key for a MAC.public boolean isUseDerivedKeyForMAC()
public void setEnableRevocation(boolean enableRevocation)
enableRevocation - whether to enable CRL checkingpublic boolean isRevocationEnabled()
public boolean isRequireSignedEncryptedDataElements()
public void setRequireSignedEncryptedDataElements(boolean requireSignedEncryptedDataElements)
requireSignedEncryptedDataElements - public void setCallbackHandler(CallbackHandler cb)
cb - public CallbackHandler getCallbackHandler()
public CallbackHandler getAttachmentCallbackHandler()
public void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)
public Validator getValidator(QName qName) throws WSSecurityException
qName - the QName with which to find a Validator instanceWSSecurityExceptionpublic void setTimestampReplayCache(ReplayCache newCache)
public ReplayCache getTimestampReplayCache() throws WSSecurityException
WSSecurityExceptionpublic void setNonceReplayCache(ReplayCache newCache)
public ReplayCache getNonceReplayCache() throws WSSecurityException
WSSecurityExceptionpublic void setSamlOneTimeUseReplayCache(ReplayCache newCache)
public ReplayCache getSamlOneTimeUseReplayCache() throws WSSecurityException
WSSecurityExceptionpublic void setSubjectCertConstraints(Collection<Pattern> subjectCertConstraints)
public Collection<Pattern> getSubjectCertConstraints()
public void setAudienceRestrictions(List<String> audienceRestrictions)
public BSPEnforcer getBSPEnforcer()
public boolean isAppendSignatureAfterTimestamp()
public void setAppendSignatureAfterTimestamp(boolean appendSignatureAfterTimestamp)
public AlgorithmSuite getAlgorithmSuite()
public void setAlgorithmSuite(AlgorithmSuite algorithmSuite)
public AlgorithmSuite getSamlAlgorithmSuite()
public void setSamlAlgorithmSuite(AlgorithmSuite samlAlgorithmSuite)
public int getOriginalSignatureActionPosition()
public void setOriginalSignatureActionPosition(int originalSignatureActionPosition)
public boolean isDisableBSPEnforcement()
public void setDisableBSPEnforcement(boolean disableBSPEnforcement)
public boolean isAllowRSA15KeyTransportAlgorithm()
public void setAllowRSA15KeyTransportAlgorithm(boolean allowRSA15KeyTransportAlgorithm)
public boolean isAddUsernameTokenNonce()
public void setAddUsernameTokenNonce(boolean addUsernameTokenNonce)
public boolean isAddUsernameTokenCreated()
public void setAddUsernameTokenCreated(boolean addUsernameTokenCreated)
public Certificate[] getTlsCerts()
public void setTlsCerts(Certificate[] tlsCerts)
public PasswordEncryptor getPasswordEncryptor()
public void setPasswordEncryptor(PasswordEncryptor passwordEncryptor)
@Deprecated public boolean isEnableSamlOneTimeUseReplayCache()
@Deprecated public void setEnableSamlOneTimeUseReplayCache(boolean enableSamlOneTimeUseReplayCache)
public SignatureActionToken getSignatureToken()
public void setSignatureToken(SignatureActionToken signatureToken)
public EncryptionActionToken getEncryptionToken()
public void setEncryptionToken(EncryptionActionToken encryptionToken)
public String getDerivedKeyTokenReference()
public void setDerivedKeyTokenReference(String derivedKeyTokenReference)
public boolean isUse200512Namespace()
public void setUse200512Namespace(boolean use200512Namespace)
public boolean isRequireTimestampExpires()
public void setRequireTimestampExpires(boolean requireTimestampExpires)
public boolean isStoreBytesInAttachment()
public void setStoreBytesInAttachment(boolean storeBytesInAttachment)
public boolean isExpandXopIncludeForSignature()
public void setExpandXopIncludeForSignature(boolean expandXopIncludeForSignature)
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.