|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rahas.impl.AbstractIssuerConfig
org.apache.rahas.impl.SAMLTokenIssuerConfig
public class SAMLTokenIssuerConfig
Configuration manager for the SAMLTokenIssuer
SAMLTokenIssuer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.rahas.impl.AbstractIssuerConfig |
---|
AbstractIssuerConfig.KeyComputation |
Field Summary | |
---|---|
protected SAMLCallbackHandler |
callbackHander
|
static javax.xml.namespace.QName |
ISSUER_NAME
|
protected java.lang.String |
issuerKeyAlias
|
protected java.lang.String |
issuerKeyPassword
|
protected java.lang.String |
issuerName
|
static javax.xml.namespace.QName |
SAML_CALLBACK_CLASS
|
static javax.xml.namespace.QName |
SAML_ISSUER_CONFIG
The QName of the configuration element of the SAMLTokenIssuer |
protected java.util.Map |
trustedServices
|
protected java.lang.String |
trustStorePropFile
|
static javax.xml.namespace.QName |
USE_SAML_ATTRIBUTE_STATEMENT
|
Fields inherited from class org.apache.rahas.impl.AbstractIssuerConfig |
---|
ADD_REQUESTED_ATTACHED_REF, ADD_REQUESTED_UNATTACHED_REF, addRequestedAttachedRef, addRequestedUnattachedRef, CRYPTO, CRYPTO_PROPERTIES, cryptoElement, cryptoPropertiesElement, cryptoPropertiesFile, keyComputation, keySize, PROOF_KEY_TYPE, proofKeyType, PROPERTY, PROVIDER, ttl |
Constructor Summary | |
---|---|
SAMLTokenIssuerConfig(org.apache.axiom.om.OMElement elem)
Create a SAMLTokenIssuer configuration using the give config element |
|
SAMLTokenIssuerConfig(java.lang.String configFilePath)
Create a SAMLTokenIssuer configuration with a config file picked from the given location. |
|
SAMLTokenIssuerConfig(java.lang.String issuerName,
java.lang.String cryptoProviderClassName,
java.util.Properties cryptoProps)
Create a new configuration with issuer name and crypto information |
Method Summary | |
---|---|
void |
addTrustedServiceEndpointAddress(java.lang.String address,
java.lang.String alias)
Add a new trusted service endpoint address with its certificate |
SAMLCallbackHandler |
getCallbackHander()
|
org.apache.axis2.description.Parameter |
getParameter()
Generate an Axis2 parameter for this configuration |
java.util.Map |
getTrustedServices()
Return the list of trusted services as a java.util.Map . |
void |
setCallbackHander(SAMLCallbackHandler callbackHander)
|
void |
setCryptoProperties(java.lang.String providerClassName,
java.util.Properties props)
Set crypto information using WSS4J mechanisms |
void |
setIssuerKeyAlias(java.lang.String issuerKeyAlias)
|
void |
setIssuerKeyPassword(java.lang.String issuerKeyPassword)
|
void |
setIssuerName(java.lang.String issuerName)
|
void |
setTrustedServices(java.util.Map trustedServices)
|
void |
setTrustStorePropFile(java.lang.String trustStorePropFile)
|
Methods inherited from class org.apache.rahas.impl.AbstractIssuerConfig |
---|
getProofKeyType, setAddRequestedAttachedRef, setAddRequestedUnattachedRef, setKeyComputation, setKeySize, setProofKeyType, setTtl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName SAML_ISSUER_CONFIG
public static final javax.xml.namespace.QName USE_SAML_ATTRIBUTE_STATEMENT
public static final javax.xml.namespace.QName ISSUER_NAME
public static final javax.xml.namespace.QName SAML_CALLBACK_CLASS
protected java.lang.String issuerKeyAlias
protected java.lang.String issuerKeyPassword
protected java.lang.String issuerName
protected java.util.Map trustedServices
protected java.lang.String trustStorePropFile
protected SAMLCallbackHandler callbackHander
Constructor Detail |
---|
public SAMLTokenIssuerConfig(java.lang.String issuerName, java.lang.String cryptoProviderClassName, java.util.Properties cryptoProps)
issuerName
- Name of the issuercryptoProviderClassName
- WSS4J Crypto impl class namecryptoProps
- Configuration properties of crypto implpublic SAMLTokenIssuerConfig(java.lang.String configFilePath) throws TrustException
configFilePath
- Path to the config file
TrustException
public SAMLTokenIssuerConfig(org.apache.axiom.om.OMElement elem) throws TrustException
elem
- Configuration element as an OMElement
TrustException
Method Detail |
---|
public org.apache.axis2.description.Parameter getParameter()
public void setIssuerKeyAlias(java.lang.String issuerKeyAlias)
public void setIssuerKeyPassword(java.lang.String issuerKeyPassword)
public void setIssuerName(java.lang.String issuerName)
public void setTrustedServices(java.util.Map trustedServices)
public void setTrustStorePropFile(java.lang.String trustStorePropFile)
public void addTrustedServiceEndpointAddress(java.lang.String address, java.lang.String alias)
address
- Service endpoint addressalias
- certificate aliaspublic void setCryptoProperties(java.lang.String providerClassName, java.util.Properties props)
providerClassName
- Provider class - an implementation of
org.apache.ws.security.components.crypto.Cryptoprops
- Configuration propertiespublic java.util.Map getTrustedServices()
java.util.Map
.
The services addresses are the keys and cert aliases available under
those keys.
public SAMLCallbackHandler getCallbackHander()
public void setCallbackHander(SAMLCallbackHandler callbackHander)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |