public class RequestData extends Object
Constructor and Description |
---|
RequestData() |
Modifier and Type | Method and Description |
---|---|
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() |
org.apache.xml.security.encryption.Serializer |
getEncryptionSerializer() |
EncryptionActionToken |
getEncryptionToken() |
List<BSPRule> |
getIgnoredBSPRules() |
Collection<Pattern> |
getIssuerDNPatterns()
Get the Signature Issuer DN Cert Constraints
|
Object |
getMsgContext() |
ReplayCache |
getNonceReplayCache()
Get the replay cache for Nonces
|
int |
getOriginalSignatureActionPosition() |
PasswordEncryptor |
getPasswordEncryptor() |
String |
getPwType() |
String |
getRequiredPasswordType() |
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
|
int |
getTimeStampFutureTTL() |
ReplayCache |
getTimestampReplayCache()
Get the replay cache for Timestamps
|
int |
getTimeStampTTL() |
Certificate[] |
getTlsCerts() |
String |
getUsername() |
int |
getUtFutureTTL() |
int |
getUtTTL() |
Validator |
getValidator(QName qName)
Get the Validator instance corresponding to the QName
|
WSSConfig |
getWssConfig() |
boolean |
isAddInclusivePrefixes() |
boolean |
isAddUsernameTokenCreated() |
boolean |
isAddUsernameTokenNonce() |
boolean |
isAllowNamespaceQualifiedPasswordTypes() |
boolean |
isAllowRSA15KeyTransportAlgorithm() |
boolean |
isAllowUsernameTokenNoPassword() |
boolean |
isAppendSignatureAfterTimestamp() |
boolean |
isDisableBSPEnforcement() |
boolean |
isEnableNonceReplayCache()
Deprecated.
|
boolean |
isEnableSamlOneTimeUseReplayCache()
Deprecated.
|
boolean |
isEnableSignatureConfirmation() |
boolean |
isEnableTimestampReplayCache()
Deprecated.
|
boolean |
isEncodePasswords() |
boolean |
isExpandXopIncludeForSignature() |
boolean |
isHandleCustomPasswordTypes() |
boolean |
isPrecisionInMilliSeconds() |
boolean |
isRequireSignedEncryptedDataElements() |
boolean |
isRequireTimestampExpires() |
boolean |
isRevocationEnabled()
Get whether to enable CRL checking or not when verifying trust in a certificate.
|
boolean |
isStoreBytesInAttachment() |
boolean |
isTimeStampStrict() |
boolean |
isUse200512Namespace() |
boolean |
isUseDerivedKeyForMAC()
Whether to use the derived key for a MAC.
|
boolean |
isValidateSamlSubjectConfirmation() |
void |
setActor(String actor) |
void |
setAddInclusivePrefixes(boolean addInclusivePrefixes) |
void |
setAddUsernameTokenCreated(boolean addUsernameTokenCreated) |
void |
setAddUsernameTokenNonce(boolean addUsernameTokenNonce) |
void |
setAlgorithmSuite(AlgorithmSuite algorithmSuite) |
void |
setAllowNamespaceQualifiedPasswordTypes(boolean allowNamespaceQualifiedPasswordTypes) |
void |
setAllowRSA15KeyTransportAlgorithm(boolean allowRSA15KeyTransportAlgorithm) |
void |
setAllowUsernameTokenNoPassword(boolean allowUsernameTokenNoPassword) |
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 |
setEnableSignatureConfirmation(boolean enableSignatureConfirmation) |
void |
setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
Deprecated.
|
void |
setEncodePasswords(boolean encodePasswords) |
void |
setEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer) |
void |
setEncryptionToken(EncryptionActionToken encryptionToken) |
void |
setExpandXopIncludeForSignature(boolean expandXopIncludeForSignature) |
void |
setHandleCustomPasswordTypes(boolean handleCustomPasswordTypes) |
void |
setIgnoredBSPRules(List<BSPRule> bspRules) |
void |
setIssuerDNPatterns(Collection<Pattern> issuerDNPatterns)
Set the Signature Issuer DN Cert Constraints
|
void |
setMsgContext(Object msgContext) |
void |
setNonceReplayCache(ReplayCache newCache)
Set the replay cache for Nonces
|
void |
setOriginalSignatureActionPosition(int originalSignatureActionPosition) |
void |
setPasswordEncryptor(PasswordEncryptor passwordEncryptor) |
void |
setPrecisionInMilliSeconds(boolean precisionInMilliSeconds) |
void |
setPwType(String pwType) |
void |
setRequiredPasswordType(String requiredPasswordType) |
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 |
setTimeStampFutureTTL(int timeStampFutureTTL) |
void |
setTimestampReplayCache(ReplayCache newCache)
Set the replay cache for Timestamps
|
void |
setTimeStampStrict(boolean timeStampStrict) |
void |
setTimeStampTTL(int timeStampTTL) |
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 |
setUtFutureTTL(int utFutureTTL) |
void |
setUtTTL(int utTTL) |
void |
setValidateSamlSubjectConfirmation(boolean validateSamlSubjectConfirmation) |
void |
setWssConfig(WSSConfig wssConfig) |
@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 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 instanceWSSecurityException
public void setTimestampReplayCache(ReplayCache newCache)
public ReplayCache getTimestampReplayCache() throws WSSecurityException
WSSecurityException
public void setNonceReplayCache(ReplayCache newCache)
public ReplayCache getNonceReplayCache() throws WSSecurityException
WSSecurityException
public void setSamlOneTimeUseReplayCache(ReplayCache newCache)
public ReplayCache getSamlOneTimeUseReplayCache() throws WSSecurityException
WSSecurityException
public void setSubjectCertConstraints(Collection<Pattern> subjectCertConstraints)
public Collection<Pattern> getSubjectCertConstraints()
public Collection<Pattern> getIssuerDNPatterns()
public void setIssuerDNPatterns(Collection<Pattern> issuerDNPatterns)
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 isValidateSamlSubjectConfirmation()
public void setValidateSamlSubjectConfirmation(boolean validateSamlSubjectConfirmation)
public boolean isAllowNamespaceQualifiedPasswordTypes()
public void setAllowNamespaceQualifiedPasswordTypes(boolean allowNamespaceQualifiedPasswordTypes)
public int getUtFutureTTL()
public void setUtFutureTTL(int utFutureTTL)
public boolean isHandleCustomPasswordTypes()
public void setHandleCustomPasswordTypes(boolean handleCustomPasswordTypes)
public int getUtTTL()
public void setUtTTL(int utTTL)
public int getTimeStampTTL()
public void setTimeStampTTL(int timeStampTTL)
public int getTimeStampFutureTTL()
public void setTimeStampFutureTTL(int timeStampFutureTTL)
public boolean isAllowUsernameTokenNoPassword()
public void setAllowUsernameTokenNoPassword(boolean allowUsernameTokenNoPassword)
public boolean isTimeStampStrict()
public void setTimeStampStrict(boolean timeStampStrict)
public boolean isAddInclusivePrefixes()
public void setAddInclusivePrefixes(boolean addInclusivePrefixes)
public boolean isPrecisionInMilliSeconds()
public void setPrecisionInMilliSeconds(boolean precisionInMilliSeconds)
public boolean isEnableSignatureConfirmation()
public void setEnableSignatureConfirmation(boolean enableSignatureConfirmation)
public String getRequiredPasswordType()
public void setRequiredPasswordType(String requiredPasswordType)
public boolean isEncodePasswords()
public void setEncodePasswords(boolean encodePasswords)
public boolean isStoreBytesInAttachment()
public void setStoreBytesInAttachment(boolean storeBytesInAttachment)
public boolean isExpandXopIncludeForSignature()
public void setExpandXopIncludeForSignature(boolean expandXopIncludeForSignature)
public org.apache.xml.security.encryption.Serializer getEncryptionSerializer()
public void setEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer)
Copyright © 2017 JBoss by Red Hat. All rights reserved.