|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerConfig
This interface encapsulates getter and setter methods for the configuration attributes of the SAML token consumer.
User should never implement this interface directly, and is required to useSAMLTokenFactory
to get an instance of ConsumerConfig.
Field Summary | |
---|---|
static long |
DEFAULT_CLOCKSKEW
|
Method Summary | |
---|---|
void |
addCertStore(java.security.cert.CertStore certStore)
Adds a cert store to the current cert store list |
void |
addCRLPath(java.lang.String value)
Adds revoked certificate list. |
void |
addX509Path(java.lang.String value)
Adds Intermediate certificate file. |
java.lang.String |
getAlgorithmSuite()
Returns the Encryption Algorithm for encrypted token or key. |
java.lang.String |
getAliasForTokenProvider()
Returns a string representing the key alias corresponding to the token provider. |
boolean |
getAllowUnencKey()
Gets setting for allowing an Unencrypted key in a Holder of Key token. |
java.util.List<java.security.cert.CertStore> |
getCertStores()
Gets the cert store list |
long |
getClockSkew()
Return the allowable clock skew. |
java.util.List<java.lang.String> |
getCRLPaths()
Get the list of revoked certificate list files. |
KeyInformationConfig |
getKeyInformationConfig()
Returns the KeyInformationConfig object to be be used to decrypt an encrypted SAML token or key. |
KeyStoreConfig |
getKeyStoreConfig()
Returns the KeyStoreConfig object used for the decryption of a SAML token or keys. |
boolean |
getRevocationEnabled()
Gets the setting of the revocationEnabled flag |
KeyStoreConfig |
getTrustStoreConfig()
Returns the KeyStoreConfig object used in the validation of the SAML Enveloped-Signature. |
java.util.List<java.lang.String> |
getX509Paths()
Get the list of intermediate certificate files. |
boolean |
isAssertionSignatureRequired()
Returns an indication as to whether this token consumer requires signed SAML assertions. |
void |
setAlgorithmSuite(java.lang.String alg)
Sets the encryption algorithm for the encrypted token or key. |
void |
setAliasForTokenProvider(java.lang.String alias)
Sets alias for Token provider's key. |
void |
setAllowUnencKey(boolean value)
Sets setting for allowing an Unencrypted key in a Holder of Key token. |
void |
setAssertionSignatureRequired(boolean option)
Indicates if signature on the assertion is required by this consumer. |
void |
setCertStores(java.util.List<java.security.cert.CertStore> certStores)
Sets the cert store list |
void |
setClockSkew(long time)
Set clock skew |
void |
setCRLPath(java.util.List value)
Sets revoked certificate list. |
void |
setKeyInformationConfig(KeyInformationConfig kic)
Sets the Key Information configuration attribute. |
void |
setKeyStoreConfig(KeyStoreConfig ksc)
Sets the KeyStore configuration attribute. |
void |
setRevocationEnabled(boolean value)
Enables certificate revocation. |
void |
setTrustAnySTS(boolean option)
Indicates if this consumer trusts all token providers. |
void |
setTrustStoreConfig(KeyStoreConfig tsc)
Sets the TrustStore configuration attribute. |
void |
setX509Path(java.util.List value)
Sets intermediate certificate file lists. |
boolean |
trustAnySTS()
Returns an indication as to whether this token consumer trusts all token providers. |
Methods inherited from interface com.ibm.wsspi.wssecurity.core.config.Configuration |
---|
validate |
Field Detail |
---|
static final long DEFAULT_CLOCKSKEW
Method Detail |
---|
java.lang.String getAlgorithmSuite()
KeyInformationConfig getKeyInformationConfig()
KeyInformationConfig
KeyStoreConfig getKeyStoreConfig()
KeyStoreConfig
KeyStoreConfig getTrustStoreConfig()
KeyStoreConfig
java.lang.String getAliasForTokenProvider()
boolean isAssertionSignatureRequired()
boolean trustAnySTS()
void setAlgorithmSuite(java.lang.String alg)
alg
- a string representing the algorithm.void setKeyInformationConfig(KeyInformationConfig kic)
KeyInformationConfig
void setKeyStoreConfig(KeyStoreConfig ksc)
KeyStoreConfig
void setTrustStoreConfig(KeyStoreConfig tsc)
tsc
- of KeyStoreConfig type.KeyStoreConfig
void setAliasForTokenProvider(java.lang.String alias)
alias
- name for the provider's key.void setAssertionSignatureRequired(boolean option)
option
- boolean true or false.void setTrustAnySTS(boolean option)
option
- boolean true or false.long getClockSkew()
void setClockSkew(long time)
clock
- kew in millisecondsjava.util.List<java.lang.String> getX509Paths()
java.util.List<java.lang.String> getCRLPaths()
void addX509Path(java.lang.String value)
CRL
- filevoid addCRLPath(java.lang.String value)
revoked
- certificate listvoid setX509Path(java.util.List value)
intermediate
- certificate file listvoid setCRLPath(java.util.List value)
revoked
- certificate listvoid setRevocationEnabled(boolean value)
boolean
- true or false indicating if certificate revocation should be turned onboolean getRevocationEnabled()
void setCertStores(java.util.List<java.security.cert.CertStore> certStores)
cert
- store listjava.util.List<java.security.cert.CertStore> getCertStores()
void addCertStore(java.security.cert.CertStore certStore)
cert
- storevoid setAllowUnencKey(boolean value)
value
- boolean flag whether to allow an Unencrypted key in a Holder of Key tokenboolean getAllowUnencKey()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |