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.
|
org.apache.wss4j.common.crypto.Crypto |
getEncryptionCrypto()
Get the encryption Crypto object
|
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.
|
org.apache.wss4j.common.crypto.Crypto |
getSignatureCrypto()
Get the signature Crypto object
|
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(org.apache.wss4j.common.crypto.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(org.apache.wss4j.common.crypto.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 STSPropertiesMBean
STSException
public void setCallbackHandler(CallbackHandler callbackHandler)
setCallbackHandler
in interface STSPropertiesMBean
callbackHandler
- the CallbackHandler object.public void setCallbackHandlerClass(String callbackHandlerClass)
callbackHandlerClass
- the String corresponding to the CallbackHandler class.public CallbackHandler getCallbackHandler()
getCallbackHandler
in interface STSPropertiesMBean
public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto signatureCrypto)
setSignatureCrypto
in interface STSPropertiesMBean
signatureCrypto
- 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 org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
getSignatureCrypto
in interface STSPropertiesMBean
public void setSignatureUsername(String signatureUsername)
setSignatureUsername
in interface STSPropertiesMBean
signatureUsername
- the username/alias to use to sign any issued tokenspublic String getSignatureUsername()
getSignatureUsername
in interface STSPropertiesMBean
public void setEncryptionCrypto(org.apache.wss4j.common.crypto.Crypto encryptionCrypto)
setEncryptionCrypto
in interface STSPropertiesMBean
encryptionCrypto
- 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 org.apache.wss4j.common.crypto.Crypto getEncryptionCrypto()
getEncryptionCrypto
in interface STSPropertiesMBean
public void setEncryptionUsername(String encryptionUsername)
setEncryptionUsername
in interface STSPropertiesMBean
encryptionUsername
- the username/alias to use to encrypt any issued tokenspublic String getEncryptionUsername()
getEncryptionUsername
in interface STSPropertiesMBean
public void setEncryptionProperties(EncryptionProperties encryptionProperties)
setEncryptionProperties
in interface STSPropertiesMBean
encryptionProperties
- the EncryptionProperties to use.public EncryptionProperties getEncryptionProperties()
getEncryptionProperties
in interface STSPropertiesMBean
public void setIssuer(String issuer)
setIssuer
in interface STSPropertiesMBean
issuer
- the STS issuer namepublic String getIssuer()
getIssuer
in interface STSPropertiesMBean
public void setSignatureProperties(SignatureProperties signatureProperties)
setSignatureProperties
in interface STSPropertiesMBean
signatureProperties
- the SignatureProperties to use.public SignatureProperties getSignatureProperties()
getSignatureProperties
in interface STSPropertiesMBean
public void setRealmParser(RealmParser realmParser)
setRealmParser
in interface STSPropertiesMBean
realmParser
- the RealmParser object to use.public RealmParser getRealmParser()
getRealmParser
in interface STSPropertiesMBean
public void setIdentityMapper(IdentityMapper identityMapper)
setIdentityMapper
in interface STSPropertiesMBean
identityMapper
- the IdentityMapper object to use.public IdentityMapper getIdentityMapper()
getIdentityMapper
in interface STSPropertiesMBean
public void setRelationships(List<Relationship> relationships)
STSPropertiesMBean
setRelationships
in interface STSPropertiesMBean
relationships
- the Listpublic List<Relationship> getRelationships()
STSPropertiesMBean
getRelationships
in interface STSPropertiesMBean
public RelationshipResolver getRelationshipResolver()
STSPropertiesMBean
getRelationshipResolver
in interface STSPropertiesMBean
public SAMLRealmCodec getSamlRealmCodec()
STSPropertiesMBean
getSamlRealmCodec
in interface STSPropertiesMBean
public void setSamlRealmCodec(SAMLRealmCodec samlRealmCodec)
STSPropertiesMBean
setSamlRealmCodec
in interface STSPropertiesMBean
samlRealmCodec
- the SAMLRealmCodec object to use.public Bus getBus()
public void setBus(Bus bus)
public boolean isValidateUseKey()
isValidateUseKey
in interface STSPropertiesMBean
public void setValidateUseKey(boolean validateUseKey)
setValidateUseKey
in interface STSPropertiesMBean
validateUseKey
- whether to validate a client UseKey or not.Apache CXF