public class StaticSTSProperties extends Object implements STSPropertiesMBean
| Constructor and Description |
|---|
StaticSTSProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties()
Load the CallbackHandler, Crypto objects, if necessary.
|
Bus |
getBus() |
CallbackHandler |
getCallbackHandler()
Get the CallbackHandler object.
|
String |
getCallbackHandlerClass() |
Crypto |
getEncryptionCrypto()
Get the encryption Crypto object
|
Object |
getEncryptionCryptoProperties() |
EncryptionProperties |
getEncryptionProperties()
Get the EncryptionProperties to use.
|
String |
getEncryptionUsername()
Get the username/alias to use to encrypt any issued tokens.
|
IdentityMapper |
getIdentityMapper()
Get the IdentityMapper object to use.
|
String |
getIssuer()
Get the STS issuer name
|
RealmParser |
getRealmParser()
Get the RealmParser object to use.
|
RelationshipResolver |
getRelationshipResolver()
Get the RelationshipResolver objects to use.
|
List<Relationship> |
getRelationships()
Get the list of Relationship objects to use.
|
SAMLRealmCodec |
getSamlRealmCodec()
Get the SAML Realm Codec object to use.
|
Crypto |
getSignatureCrypto()
Get the signature Crypto object
|
Object |
getSignatureCryptoProperties() |
SignatureProperties |
getSignatureProperties()
Get the SignatureProperties to use.
|
String |
getSignatureUsername()
Get the username/alias to use to sign any issued tokens
|
boolean |
isValidateUseKey()
Get whether to validate a client Public Key or Certificate presented as part of a
UseKey element.
|
void |
setBus(Bus bus) |
void |
setCallbackHandler(CallbackHandler callbackHandler)
Set the CallbackHandler object.
|
void |
setCallbackHandlerClass(String callbackHandlerClass)
Set the String corresponding to the CallbackHandler class.
|
void |
setEncryptionCrypto(Crypto encryptionCrypto)
Set the encryption Crypto object
|
void |
setEncryptionCryptoProperties(Object encryptionCryptoProperties)
Set the Object corresponding to the encryption Properties class.
|
void |
setEncryptionProperties(EncryptionProperties encryptionProperties)
Set the EncryptionProperties to use.
|
void |
setEncryptionPropertiesFile(String encryptionPropertiesFile)
Deprecated.
|
void |
setEncryptionUsername(String encryptionUsername)
Set the username/alias to use to encrypt any issued tokens.
|
void |
setIdentityMapper(IdentityMapper identityMapper)
Set the IdentityMapper object to use.
|
void |
setIssuer(String issuer)
Set the STS issuer name
|
void |
setRealmParser(RealmParser realmParser)
Set the RealmParser object to use.
|
void |
setRelationships(List<Relationship> relationships)
Set the list of Relationship objects to use.
|
void |
setSamlRealmCodec(SAMLRealmCodec samlRealmCodec)
Set the SAML Realm Codec object to use.
|
void |
setSignatureCrypto(Crypto signatureCrypto)
Set the signature Crypto object
|
void |
setSignatureCryptoProperties(Object signatureCryptoProperties)
Set the Object corresponding to the signature Properties class.
|
void |
setSignatureProperties(SignatureProperties signatureProperties)
Set the SignatureProperties to use.
|
void |
setSignaturePropertiesFile(String signaturePropertiesFile)
Deprecated.
|
void |
setSignatureUsername(String signatureUsername)
Set the username/alias to use to sign any issued tokens
|
void |
setValidateUseKey(boolean validateUseKey)
Set whether to validate a client Public Key or Certificate presented as part of a
UseKey element.
|
public void configureProperties()
throws STSException
configureProperties in interface STSPropertiesMBeanSTSExceptionpublic void setCallbackHandler(CallbackHandler callbackHandler)
setCallbackHandler in interface STSPropertiesMBeancallbackHandler - the CallbackHandler object.public void setCallbackHandlerClass(String callbackHandlerClass)
callbackHandlerClass - the String corresponding to the CallbackHandler class.public String getCallbackHandlerClass()
public CallbackHandler getCallbackHandler()
getCallbackHandler in interface STSPropertiesMBeanpublic void setSignatureCrypto(Crypto signatureCrypto)
setSignatureCrypto in interface STSPropertiesMBeansignatureCrypto - the signature Crypto object@Deprecated public void setSignaturePropertiesFile(String signaturePropertiesFile)
signaturePropertiesFile - the String corresponding to the signature properties filepublic void setSignatureCryptoProperties(Object signatureCryptoProperties)
signatureCryptoProperties - the object corresponding to the signature propertiespublic Object getSignatureCryptoProperties()
public Crypto getSignatureCrypto()
getSignatureCrypto in interface STSPropertiesMBeanpublic void setSignatureUsername(String signatureUsername)
setSignatureUsername in interface STSPropertiesMBeansignatureUsername - the username/alias to use to sign any issued tokenspublic String getSignatureUsername()
getSignatureUsername in interface STSPropertiesMBeanpublic void setEncryptionCrypto(Crypto encryptionCrypto)
setEncryptionCrypto in interface STSPropertiesMBeanencryptionCrypto - the encryption Crypto object@Deprecated public void setEncryptionPropertiesFile(String encryptionPropertiesFile)
signaturePropertiesFile - the String corresponding to the encryption properties filepublic void setEncryptionCryptoProperties(Object encryptionCryptoProperties)
encryptionCryptoProperties - the object corresponding to the encryption propertiespublic Object getEncryptionCryptoProperties()
public Crypto getEncryptionCrypto()
getEncryptionCrypto in interface STSPropertiesMBeanpublic void setEncryptionUsername(String encryptionUsername)
setEncryptionUsername in interface STSPropertiesMBeanencryptionUsername - the username/alias to use to encrypt any issued tokenspublic String getEncryptionUsername()
getEncryptionUsername in interface STSPropertiesMBeanpublic void setEncryptionProperties(EncryptionProperties encryptionProperties)
setEncryptionProperties in interface STSPropertiesMBeanencryptionProperties - the EncryptionProperties to use.public EncryptionProperties getEncryptionProperties()
getEncryptionProperties in interface STSPropertiesMBeanpublic void setIssuer(String issuer)
setIssuer in interface STSPropertiesMBeanissuer - the STS issuer namepublic String getIssuer()
getIssuer in interface STSPropertiesMBeanpublic void setSignatureProperties(SignatureProperties signatureProperties)
setSignatureProperties in interface STSPropertiesMBeansignatureProperties - the SignatureProperties to use.public SignatureProperties getSignatureProperties()
getSignatureProperties in interface STSPropertiesMBeanpublic void setRealmParser(RealmParser realmParser)
setRealmParser in interface STSPropertiesMBeanrealmParser - the RealmParser object to use.public RealmParser getRealmParser()
getRealmParser in interface STSPropertiesMBeanpublic void setIdentityMapper(IdentityMapper identityMapper)
setIdentityMapper in interface STSPropertiesMBeanidentityMapper - the IdentityMapper object to use.public IdentityMapper getIdentityMapper()
getIdentityMapper in interface STSPropertiesMBeanpublic void setRelationships(List<Relationship> relationships)
STSPropertiesMBeansetRelationships in interface STSPropertiesMBeanrelationships - the Listpublic List<Relationship> getRelationships()
STSPropertiesMBeangetRelationships in interface STSPropertiesMBeanpublic RelationshipResolver getRelationshipResolver()
STSPropertiesMBeangetRelationshipResolver in interface STSPropertiesMBeanpublic SAMLRealmCodec getSamlRealmCodec()
STSPropertiesMBeangetSamlRealmCodec in interface STSPropertiesMBeanpublic void setSamlRealmCodec(SAMLRealmCodec samlRealmCodec)
STSPropertiesMBeansetSamlRealmCodec in interface STSPropertiesMBeansamlRealmCodec - the SAMLRealmCodec object to use.public Bus getBus()
public void setBus(Bus bus)
public boolean isValidateUseKey()
isValidateUseKey in interface STSPropertiesMBeanpublic void setValidateUseKey(boolean validateUseKey)
setValidateUseKey in interface STSPropertiesMBeanvalidateUseKey - whether to validate a client UseKey or not.Copyright © 2017 JBoss by Red Hat. All rights reserved.