org.apache.wss4j.stax.ext
Class WSSSecurityProperties

java.lang.Object
  extended by org.apache.xml.security.stax.ext.XMLSecurityProperties
      extended by org.apache.wss4j.stax.ext.WSSSecurityProperties

public class WSSSecurityProperties
extends org.apache.xml.security.stax.ext.XMLSecurityProperties

Main configuration class to supply keys etc. This class is subject to change in the future. Probably we will allow to configure the framework per WSDL


Constructor Summary
WSSSecurityProperties()
           
WSSSecurityProperties(WSSSecurityProperties wssSecurityProperties)
           
 
Method Summary
 void addIgnoreBSPRule(BSPRule bspRule)
           
 void addValidator(QName qName, Validator validator)
           
 String getActor()
           
 CallbackHandler getAttachmentCallbackHandler()
           
 List<String> getAudienceRestrictions()
          Get the Audience Restrictions
 CallbackHandler getCallbackHandler()
          returns the password callback handler
 CertStore getCrlCertStore()
           
 Crypto getDecryptionCrypto()
          returns the decryptionCrypto for the key-management
 Class<? extends Merlin> getDecryptionCryptoClass()
          Returns the decryption crypto class
 Properties getDecryptionCryptoProperties()
           
 KeyStore getDecryptionKeyStore()
          Returns the decryption keystore
 int getDerivedEncryptionKeyLength()
           
 Integer getDerivedKeyIterations()
           
 org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier getDerivedKeyKeyIdentifier()
           
 WSSConstants.DerivedKeyTokenReference getDerivedKeyTokenReference()
           
 int getDerivedSignatureKeyLength()
           
 String getEncryptionCompressionAlgorithm()
           
 Crypto getEncryptionCrypto()
          returns the encryptionCrypto for the key-management
 Class<? extends Merlin> getEncryptionCryptoClass()
          Returns the encryption crypto class
 Properties getEncryptionCryptoProperties()
           
 KeyStore getEncryptionKeyStore()
          Returns the encryption keystore
 String getEncryptionUser()
          Returns the alias for the encryption key in the keystore
 boolean getHandleCustomPasswordTypes()
           
 List<BSPRule> getIgnoredBSPRules()
           
 Object getMsgContext()
           
 ReplayCache getNonceReplayCache()
          Get the replay cache for Nonces
 CallbackHandler getSamlCallbackHandler()
           
 ReplayCache getSamlOneTimeUseReplayCache()
          Get the replay cache for SAML2 OneTimeUse Assertions
 Crypto getSignatureCrypto()
           
 Class<? extends Merlin> getSignatureCryptoClass()
           
 Properties getSignatureCryptoProperties()
           
 KeyStore getSignatureKeyStore()
           
 String getSignatureUser()
           
 Crypto getSignatureVerificationCrypto()
           
 Class<? extends Merlin> getSignatureVerificationCryptoClass()
           
 Properties getSignatureVerificationCryptoProperties()
           
 KeyStore getSignatureVerificationKeyStore()
           
 Collection<Pattern> getSubjectCertConstraints()
          Get the Signature Subject Cert Constraints
 Integer getTimeStampFutureTTL()
           
 ReplayCache getTimestampReplayCache()
          Get the replay cache for Timestamps
 Integer getTimestampTTL()
           
 String getTokenUser()
           
 WSSConstants.UsernameTokenPasswordType getUsernameTokenPasswordType()
           
 Integer getUtFutureTTL()
           
 Integer getUtTTL()
           
<T extends Validator>
T
getValidator(QName qName)
           
 boolean isAddUsernameTokenCreated()
           
 boolean isAddUsernameTokenNonce()
           
 boolean isAllowRSA15KeyTransportAlgorithm()
           
 boolean isAllowUsernameTokenNoPassword()
           
 boolean isDisableBSPEnforcement()
           
 boolean isEnableNonceReplayCache()
           
 boolean isEnableRevocation()
           
 boolean isEnableSamlOneTimeUseReplayCache()
           
 boolean isEnableSignatureConfirmationVerification()
           
 boolean isEnableTimestampReplayCache()
           
 boolean isEncryptSymmetricEncryptionKey()
           
 boolean isIncludeEncryptionToken()
           
 boolean isIncludeSignatureToken()
           
 boolean isMustUnderstand()
           
 boolean isRequireTimestampExpires()
           
 boolean isStrictTimestampCheck()
           
 boolean isUse200512Namespace()
           
 boolean isUseDerivedKeyForMAC()
           
 boolean isUseReqSigCertForEncryption()
           
 boolean isValidateSamlSubjectConfirmation()
           
 void loadCRLCertStore(URL url)
           
 void loadDecryptionKeystore(URL url, char[] keyStorePassword)
          loads a java keystore from the given url for decrypt operations
 void loadEncryptionKeystore(URL url, char[] keyStorePassword)
          loads a java keystore from the given url for encrypt operations
 void loadSignatureKeyStore(URL url, char[] keyStorePassword)
           
 void loadSignatureVerificationKeystore(URL url, char[] keyStorePassword)
           
 void setActor(String actor)
           
 void setAddUsernameTokenCreated(boolean addUsernameTokenCreated)
           
 void setAddUsernameTokenNonce(boolean addUsernameTokenNonce)
           
 void setAllowRSA15KeyTransportAlgorithm(boolean allowRSA15KeyTransportAlgorithm)
           
 void setAllowUsernameTokenNoPassword(boolean allowUsernameTokenNoPassword)
           
 void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)
           
 void setAudienceRestrictions(List<String> audienceRestrictions)
          Set the Audience Restrictions
 void setCallbackHandler(CallbackHandler callbackHandler)
          sets the password callback handler
 void setCrlCertStore(CertStore crlCertStore)
           
 void setDecryptionCrypto(Crypto decCrypto)
           
 void setDecryptionCryptoClass(Class<? extends Merlin> decryptionCryptoClass)
          Sets a custom decryption class
 void setDecryptionCryptoProperties(Properties cryptoProperties)
           
 void setDecryptionCryptoProperties(Properties cryptoProperties, PasswordEncryptor passwordEncryptor)
           
 void setDerivedEncryptionKeyLength(int derivedEncryptionKeyLength)
           
 void setDerivedKeyIterations(Integer derivedKeyIterations)
           
 void setDerivedKeyKeyIdentifier(org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier derivedKeyKeyIdentifier)
           
 void setDerivedKeyTokenReference(WSSConstants.DerivedKeyTokenReference derivedKeyTokenReference)
           
 void setDerivedSignatureKeyLength(int derivedSignatureKeyLength)
           
 void setDisableBSPEnforcement(boolean disableBSPEnforcement)
           
 void setEnableNonceReplayCache(boolean enableNonceReplayCache)
           
 void setEnableRevocation(boolean enableRevocation)
           
 void setEnableSamlOneTimeUseReplayCache(boolean enableSamlOneTimeUseReplayCache)
           
 void setEnableSignatureConfirmationVerification(boolean enableSignatureConfirmationVerification)
           
 void setEnableTimestampReplayCache(boolean enableTimestampReplayCache)
           
 void setEncryptionCompressionAlgorithm(String encryptionCompressionAlgorithm)
           
 void setEncryptionCrypto(Crypto encCrypto)
           
 void setEncryptionCryptoClass(Class<? extends Merlin> encryptionCryptoClass)
          Sets a custom encryption class
 void setEncryptionCryptoProperties(Properties cryptoProperties)
           
 void setEncryptionCryptoProperties(Properties cryptoProperties, PasswordEncryptor passwordEncryptor)
           
 void setEncryptionUser(String encryptionUser)
          Specifies the the alias for the encryption key in the keystore
 void setEncryptSymmetricEncryptionKey(boolean encryptSymmetricEncrytionKey)
           
 void setHandleCustomPasswordTypes(boolean handleCustomTypes)
           
 void setIncludeEncryptionToken(boolean includeEncryptionToken)
           
 void setIncludeSignatureToken(boolean includeSignatureToken)
           
 void setMsgContext(Object msgContext)
           
 void setMustUnderstand(boolean mustUnderstand)
           
 void setNonceReplayCache(ReplayCache newCache)
          Set the replay cache for Nonces
 void setRequireTimestampExpires(boolean requireTimestampExpires)
           
 void setSamlCallbackHandler(CallbackHandler samlCallbackHandler)
           
 void setSamlOneTimeUseReplayCache(ReplayCache newCache)
          Set the replay cache for SAML2 OneTimeUse Assertions
 void setSignatureCrypto(Crypto sigCrypto)
           
 void setSignatureCryptoClass(Class<? extends Merlin> signatureCryptoClass)
           
 void setSignatureCryptoProperties(Properties cryptoProperties)
           
 void setSignatureCryptoProperties(Properties cryptoProperties, PasswordEncryptor passwordEncryptor)
           
 void setSignatureUser(String signatureUser)
           
 void setSignatureVerificationCrypto(Crypto sigVerCrypto)
           
 void setSignatureVerificationCryptoClass(Class<? extends Merlin> signatureVerificationCryptoClass)
           
 void setSignatureVerificationCryptoProperties(Properties cryptoProperties)
           
 void setSignatureVerificationCryptoProperties(Properties cryptoProperties, PasswordEncryptor passwordEncryptor)
           
 void setStrictTimestampCheck(boolean strictTimestampCheck)
           
 void setSubjectCertConstraints(Collection<Pattern> subjectCertConstraints)
          Set the Signature Subject Cert Constraints
 void setTimeStampFutureTTL(Integer timeStampFutureTTL)
           
 void setTimestampReplayCache(ReplayCache newCache)
          Set the replay cache for Timestamps
 void setTimestampTTL(Integer timestampTTL)
           
 void setTokenUser(String tokenUser)
           
 void setUse200512Namespace(boolean use200512Namespace)
           
 void setUseDerivedKeyForMAC(boolean useDerivedKeyForMAC)
           
 void setUseReqSigCertForEncryption(boolean useReqSigCertForEncryption)
           
 void setUsernameTokenPasswordType(WSSConstants.UsernameTokenPasswordType usernameTokenPasswordType)
           
 void setUtFutureTTL(Integer utFutureTTL)
           
 void setUtTTL(Integer utTTL)
           
 void setValidateSamlSubjectConfirmation(boolean validateSamlSubjectConfirmation)
           
 
Methods inherited from class org.apache.xml.security.stax.ext.XMLSecurityProperties
addAction, addEncryptionPart, addInputProcessor, addSignaturePart, getActions, getDecryptionKey, getEncryptionKey, getEncryptionKeyIdentifier, getEncryptionKeyTransportAlgorithm, getEncryptionKeyTransportDigestAlgorithm, getEncryptionKeyTransportMGFAlgorithm, getEncryptionKeyTransportOAEPParams, getEncryptionSecureParts, getEncryptionSymAlgorithm, getEncryptionTransportKey, getEncryptionUseThisCertificate, getInputProcessorList, getSignatureAlgorithm, getSignatureCanonicalizationAlgorithm, getSignatureCerts, getSignatureDigestAlgorithm, getSignatureKey, getSignatureKeyIdentifier, getSignaturePosition, getSignatureSecureParts, getSignatureVerificationKey, isAddExcC14NInclusivePrefixes, isDisableSchemaValidation, isSkipDocumentEvents, isUseSingleCert, setActions, setAddExcC14NInclusivePrefixes, setDecryptionKey, setDisableSchemaValidation, setEncryptionKey, setEncryptionKeyIdentifier, setEncryptionKeyTransportAlgorithm, setEncryptionKeyTransportDigestAlgorithm, setEncryptionKeyTransportMGFAlgorithm, setEncryptionKeyTransportOAEPParams, setEncryptionSymAlgorithm, setEncryptionTransportKey, setEncryptionUseThisCertificate, setSignatureAlgorithm, setSignatureCanonicalizationAlgorithm, setSignatureCerts, setSignatureDigestAlgorithm, setSignatureKey, setSignatureKeyIdentifier, setSignaturePosition, setSignatureVerificationKey, setSkipDocumentEvents, setUseSingleCert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSSecurityProperties

public WSSSecurityProperties()

WSSSecurityProperties

public WSSSecurityProperties(WSSSecurityProperties wssSecurityProperties)
Method Detail

getCallbackHandler

public CallbackHandler getCallbackHandler()
returns the password callback handler

Returns:
the password callback handler

setCallbackHandler

public void setCallbackHandler(CallbackHandler callbackHandler)
sets the password callback handler

Parameters:
callbackHandler - the password callback handler

getTimestampTTL

public Integer getTimestampTTL()

setTimestampTTL

public void setTimestampTTL(Integer timestampTTL)

isStrictTimestampCheck

public boolean isStrictTimestampCheck()

setStrictTimestampCheck

public void setStrictTimestampCheck(boolean strictTimestampCheck)

setHandleCustomPasswordTypes

public void setHandleCustomPasswordTypes(boolean handleCustomTypes)
Parameters:
handleCustomTypes - whether to handle custom UsernameToken password types or not

getHandleCustomPasswordTypes

public boolean getHandleCustomPasswordTypes()
Returns:
whether custom UsernameToken password types are allowed or not

getTokenUser

public String getTokenUser()

setTokenUser

public void setTokenUser(String tokenUser)

getUsernameTokenPasswordType

public WSSConstants.UsernameTokenPasswordType getUsernameTokenPasswordType()

setUsernameTokenPasswordType

public void setUsernameTokenPasswordType(WSSConstants.UsernameTokenPasswordType usernameTokenPasswordType)

isEnableSignatureConfirmationVerification

public boolean isEnableSignatureConfirmationVerification()

setEnableSignatureConfirmationVerification

public void setEnableSignatureConfirmationVerification(boolean enableSignatureConfirmationVerification)

isUseReqSigCertForEncryption

public boolean isUseReqSigCertForEncryption()

setUseReqSigCertForEncryption

public void setUseReqSigCertForEncryption(boolean useReqSigCertForEncryption)

getActor

public String getActor()

setActor

public void setActor(String actor)

getDerivedKeyKeyIdentifier

public org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier getDerivedKeyKeyIdentifier()

setDerivedKeyKeyIdentifier

public void setDerivedKeyKeyIdentifier(org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier derivedKeyKeyIdentifier)

getDerivedKeyTokenReference

public WSSConstants.DerivedKeyTokenReference getDerivedKeyTokenReference()

setDerivedKeyTokenReference

public void setDerivedKeyTokenReference(WSSConstants.DerivedKeyTokenReference derivedKeyTokenReference)

addIgnoreBSPRule

public void addIgnoreBSPRule(BSPRule bspRule)

getIgnoredBSPRules

public List<BSPRule> getIgnoredBSPRules()

addValidator

public void addValidator(QName qName,
                         Validator validator)

getValidator

public <T extends Validator> T getValidator(QName qName)

setSignatureUser

public void setSignatureUser(String signatureUser)

getSignatureUser

public String getSignatureUser()

getSignatureKeyStore

public KeyStore getSignatureKeyStore()

loadSignatureKeyStore

public void loadSignatureKeyStore(URL url,
                                  char[] keyStorePassword)
                           throws Exception
Throws:
Exception

getSignatureCryptoProperties

public Properties getSignatureCryptoProperties()

setSignatureCryptoProperties

public void setSignatureCryptoProperties(Properties cryptoProperties)

setSignatureCryptoProperties

public void setSignatureCryptoProperties(Properties cryptoProperties,
                                         PasswordEncryptor passwordEncryptor)

getSignatureCryptoClass

public Class<? extends Merlin> getSignatureCryptoClass()

setSignatureCryptoClass

public void setSignatureCryptoClass(Class<? extends Merlin> signatureCryptoClass)

getSignatureCrypto

public Crypto getSignatureCrypto()
                          throws WSSConfigurationException
Throws:
WSSConfigurationException

setSignatureCrypto

public void setSignatureCrypto(Crypto sigCrypto)

getSignatureVerificationKeyStore

public KeyStore getSignatureVerificationKeyStore()

loadSignatureVerificationKeystore

public void loadSignatureVerificationKeystore(URL url,
                                              char[] keyStorePassword)
                                       throws Exception
Throws:
Exception

loadCRLCertStore

public void loadCRLCertStore(URL url)
                      throws Exception
Throws:
Exception

getSignatureVerificationCryptoProperties

public Properties getSignatureVerificationCryptoProperties()

setSignatureVerificationCryptoProperties

public void setSignatureVerificationCryptoProperties(Properties cryptoProperties)

setSignatureVerificationCryptoProperties

public void setSignatureVerificationCryptoProperties(Properties cryptoProperties,
                                                     PasswordEncryptor passwordEncryptor)

getSignatureVerificationCryptoClass

public Class<? extends Merlin> getSignatureVerificationCryptoClass()

setSignatureVerificationCryptoClass

public void setSignatureVerificationCryptoClass(Class<? extends Merlin> signatureVerificationCryptoClass)

getSignatureVerificationCrypto

public Crypto getSignatureVerificationCrypto()
                                      throws WSSConfigurationException
Throws:
WSSConfigurationException

setSignatureVerificationCrypto

public void setSignatureVerificationCrypto(Crypto sigVerCrypto)

getDecryptionKeyStore

public KeyStore getDecryptionKeyStore()
Returns the decryption keystore

Returns:
A keystore for decryption operation

loadDecryptionKeystore

public void loadDecryptionKeystore(URL url,
                                   char[] keyStorePassword)
                            throws Exception
loads a java keystore from the given url for decrypt operations

Parameters:
url - The URL to the keystore
keyStorePassword - The keyStorePassword
Throws:
Exception - thrown if something goes wrong while loading the keystore

getDecryptionCryptoProperties

public Properties getDecryptionCryptoProperties()

setDecryptionCryptoProperties

public void setDecryptionCryptoProperties(Properties cryptoProperties)

setDecryptionCryptoProperties

public void setDecryptionCryptoProperties(Properties cryptoProperties,
                                          PasswordEncryptor passwordEncryptor)

getDecryptionCryptoClass

public Class<? extends Merlin> getDecryptionCryptoClass()
Returns the decryption crypto class

Returns:
the decryption crypto class

setDecryptionCryptoClass

public void setDecryptionCryptoClass(Class<? extends Merlin> decryptionCryptoClass)
Sets a custom decryption class

Parameters:
decryptionCryptoClass -

getDecryptionCrypto

public Crypto getDecryptionCrypto()
                           throws WSSConfigurationException
returns the decryptionCrypto for the key-management

Returns:
A Crypto instance
Throws:
WSSConfigurationException - thrown if something goes wrong

setDecryptionCrypto

public void setDecryptionCrypto(Crypto decCrypto)

getEncryptionKeyStore

public KeyStore getEncryptionKeyStore()
Returns the encryption keystore

Returns:
A keystore for encryption operation

loadEncryptionKeystore

public void loadEncryptionKeystore(URL url,
                                   char[] keyStorePassword)
                            throws Exception
loads a java keystore from the given url for encrypt operations

Parameters:
url - The URL to the keystore
keyStorePassword - The keyStorePassword
Throws:
Exception - thrown if something goes wrong while loading the keystore

getEncryptionCryptoProperties

public Properties getEncryptionCryptoProperties()

setEncryptionCryptoProperties

public void setEncryptionCryptoProperties(Properties cryptoProperties)

setEncryptionCryptoProperties

public void setEncryptionCryptoProperties(Properties cryptoProperties,
                                          PasswordEncryptor passwordEncryptor)

getEncryptionCryptoClass

public Class<? extends Merlin> getEncryptionCryptoClass()
Returns the encryption crypto class

Returns:
the encryption crypto class

setEncryptionCryptoClass

public void setEncryptionCryptoClass(Class<? extends Merlin> encryptionCryptoClass)
Sets a custom encryption class

Parameters:
encryptionCryptoClass -

getEncryptionCrypto

public Crypto getEncryptionCrypto()
                           throws WSSConfigurationException
returns the encryptionCrypto for the key-management

Returns:
A Crypto instance
Throws:
WSSConfigurationException - thrown if something goes wrong

setEncryptionCrypto

public void setEncryptionCrypto(Crypto encCrypto)

getEncryptionUser

public String getEncryptionUser()
Returns the alias for the encryption key in the keystore

Returns:
the alias for the encryption key in the keystore as string

setEncryptionUser

public void setEncryptionUser(String encryptionUser)
Specifies the the alias for the encryption key in the keystore

Parameters:
encryptionUser - the the alias for the encryption key in the keystore as string

getEncryptionCompressionAlgorithm

public String getEncryptionCompressionAlgorithm()

setEncryptionCompressionAlgorithm

public void setEncryptionCompressionAlgorithm(String encryptionCompressionAlgorithm)

isAllowUsernameTokenNoPassword

public boolean isAllowUsernameTokenNoPassword()

setAllowUsernameTokenNoPassword

public void setAllowUsernameTokenNoPassword(boolean allowUsernameTokenNoPassword)

isEnableRevocation

public boolean isEnableRevocation()

setEnableRevocation

public void setEnableRevocation(boolean enableRevocation)

getCrlCertStore

public CertStore getCrlCertStore()

setCrlCertStore

public void setCrlCertStore(CertStore crlCertStore)

getTimeStampFutureTTL

public Integer getTimeStampFutureTTL()

setTimeStampFutureTTL

public void setTimeStampFutureTTL(Integer timeStampFutureTTL)

getUtTTL

public Integer getUtTTL()

setUtTTL

public void setUtTTL(Integer utTTL)

getUtFutureTTL

public Integer getUtFutureTTL()

setUtFutureTTL

public void setUtFutureTTL(Integer utFutureTTL)

setTimestampReplayCache

public void setTimestampReplayCache(ReplayCache newCache)
Set the replay cache for Timestamps


getTimestampReplayCache

public ReplayCache getTimestampReplayCache()
                                    throws WSSecurityException
Get the replay cache for Timestamps

Throws:
WSSecurityException

setNonceReplayCache

public void setNonceReplayCache(ReplayCache newCache)
Set the replay cache for Nonces


getNonceReplayCache

public ReplayCache getNonceReplayCache()
                                throws WSSecurityException
Get the replay cache for Nonces

Throws:
WSSecurityException

setSamlOneTimeUseReplayCache

public void setSamlOneTimeUseReplayCache(ReplayCache newCache)
Set the replay cache for SAML2 OneTimeUse Assertions


getSamlOneTimeUseReplayCache

public ReplayCache getSamlOneTimeUseReplayCache()
                                         throws WSSecurityException
Get the replay cache for SAML2 OneTimeUse Assertions

Throws:
WSSecurityException

isDisableBSPEnforcement

public boolean isDisableBSPEnforcement()

setDisableBSPEnforcement

public void setDisableBSPEnforcement(boolean disableBSPEnforcement)

isAllowRSA15KeyTransportAlgorithm

public boolean isAllowRSA15KeyTransportAlgorithm()

setAllowRSA15KeyTransportAlgorithm

public void setAllowRSA15KeyTransportAlgorithm(boolean allowRSA15KeyTransportAlgorithm)

getDerivedKeyIterations

public Integer getDerivedKeyIterations()

setDerivedKeyIterations

public void setDerivedKeyIterations(Integer derivedKeyIterations)

isUseDerivedKeyForMAC

public boolean isUseDerivedKeyForMAC()

setUseDerivedKeyForMAC

public void setUseDerivedKeyForMAC(boolean useDerivedKeyForMAC)

isAddUsernameTokenNonce

public boolean isAddUsernameTokenNonce()

setAddUsernameTokenNonce

public void setAddUsernameTokenNonce(boolean addUsernameTokenNonce)

isAddUsernameTokenCreated

public boolean isAddUsernameTokenCreated()

setAddUsernameTokenCreated

public void setAddUsernameTokenCreated(boolean addUsernameTokenCreated)

getSamlCallbackHandler

public CallbackHandler getSamlCallbackHandler()

setSamlCallbackHandler

public void setSamlCallbackHandler(CallbackHandler samlCallbackHandler)

isValidateSamlSubjectConfirmation

public boolean isValidateSamlSubjectConfirmation()

setValidateSamlSubjectConfirmation

public void setValidateSamlSubjectConfirmation(boolean validateSamlSubjectConfirmation)

isMustUnderstand

public boolean isMustUnderstand()

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)

isIncludeSignatureToken

public boolean isIncludeSignatureToken()

setIncludeSignatureToken

public void setIncludeSignatureToken(boolean includeSignatureToken)

isIncludeEncryptionToken

public boolean isIncludeEncryptionToken()

setIncludeEncryptionToken

public void setIncludeEncryptionToken(boolean includeEncryptionToken)

isEnableTimestampReplayCache

public boolean isEnableTimestampReplayCache()

setEnableTimestampReplayCache

public void setEnableTimestampReplayCache(boolean enableTimestampReplayCache)

isEnableNonceReplayCache

public boolean isEnableNonceReplayCache()

setEnableNonceReplayCache

public void setEnableNonceReplayCache(boolean enableNonceReplayCache)

isEnableSamlOneTimeUseReplayCache

public boolean isEnableSamlOneTimeUseReplayCache()

setEnableSamlOneTimeUseReplayCache

public void setEnableSamlOneTimeUseReplayCache(boolean enableSamlOneTimeUseReplayCache)

isEncryptSymmetricEncryptionKey

public boolean isEncryptSymmetricEncryptionKey()

setEncryptSymmetricEncryptionKey

public void setEncryptSymmetricEncryptionKey(boolean encryptSymmetricEncrytionKey)

setSubjectCertConstraints

public void setSubjectCertConstraints(Collection<Pattern> subjectCertConstraints)
Set the Signature Subject Cert Constraints


getSubjectCertConstraints

public Collection<Pattern> getSubjectCertConstraints()
Get the Signature Subject Cert Constraints


setAudienceRestrictions

public void setAudienceRestrictions(List<String> audienceRestrictions)
Set the Audience Restrictions


getAudienceRestrictions

public List<String> getAudienceRestrictions()
Get the Audience Restrictions


getDerivedSignatureKeyLength

public int getDerivedSignatureKeyLength()

setDerivedSignatureKeyLength

public void setDerivedSignatureKeyLength(int derivedSignatureKeyLength)

getDerivedEncryptionKeyLength

public int getDerivedEncryptionKeyLength()

setDerivedEncryptionKeyLength

public void setDerivedEncryptionKeyLength(int derivedEncryptionKeyLength)

isUse200512Namespace

public boolean isUse200512Namespace()

setUse200512Namespace

public void setUse200512Namespace(boolean use200512Namespace)

getAttachmentCallbackHandler

public CallbackHandler getAttachmentCallbackHandler()

setAttachmentCallbackHandler

public void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)

getMsgContext

public Object getMsgContext()

setMsgContext

public void setMsgContext(Object msgContext)

isRequireTimestampExpires

public boolean isRequireTimestampExpires()

setRequireTimestampExpires

public void setRequireTimestampExpires(boolean requireTimestampExpires)


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.