|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wss4j.dom.handler.RequestData
public class RequestData
This class holds per request data.
| Field Summary | |
|---|---|
protected boolean |
requireSignedEncryptedDataElements
|
| Constructor Summary | |
|---|---|
RequestData()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
String |
getActor()
|
AlgorithmSuite |
getAlgorithmSuite()
|
CallbackHandler |
getAttachmentCallbackHandler()
|
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()
|
boolean |
isEnableSamlOneTimeUseReplayCache()
|
boolean |
isEnableTimestampReplayCache()
|
boolean |
isRequireSignedEncryptedDataElements()
|
boolean |
isRevocationEnabled()
Get whether to enable CRL checking or not when verifying trust in a certificate. |
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 |
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)
|
void |
setEnableRevocation(boolean enableRevocation)
Set whether to enable CRL checking or not when verifying trust in a certificate. |
void |
setEnableSamlOneTimeUseReplayCache(boolean enableSamlOneTimeUseReplayCache)
|
void |
setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
|
void |
setEncryptionToken(EncryptionActionToken encryptionToken)
|
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 |
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 |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean requireSignedEncryptedDataElements
| Constructor Detail |
|---|
public RequestData()
| Method Detail |
|---|
public void clear()
public boolean isEnableTimestampReplayCache()
public void setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
public boolean isEnableNonceReplayCache()
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 instance
WSSecurityExceptionpublic 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 setIgnoredBSPRules(List<BSPRule> bspRules)
public List<BSPRule> getIgnoredBSPRules()
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)
public boolean isEnableSamlOneTimeUseReplayCache()
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||