public class StaticStsProperties
extends org.apache.cxf.sts.StaticSTSProperties
| Constructor and Description |
|---|
StaticStsProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties()
Load the CallbackHandler, Crypto objects, if necessary.
|
org.apache.cxf.Bus |
getBus() |
CallbackHandler |
getCallbackHandler()
Get the CallbackHandler object.
|
org.apache.wss4j.common.crypto.Crypto |
getEncryptionCrypto()
Get the encryption Crypto object
|
org.apache.cxf.sts.service.EncryptionProperties |
getEncryptionProperties()
Get the EncryptionProperties to use.
|
String |
getEncryptionUsername()
Get the username/alias to use to encrypt any issued tokens.
|
org.apache.cxf.sts.IdentityMapper |
getIdentityMapper()
Get the IdentityMapper object to use.
|
String |
getIssuer()
Get the STS issuer name
|
org.apache.cxf.sts.RealmParser |
getRealmParser()
Get the RealmParser object to use.
|
org.apache.cxf.sts.token.realm.RelationshipResolver |
getRelationshipResolver() |
List<org.apache.cxf.sts.token.realm.Relationship> |
getRelationships() |
org.apache.cxf.sts.token.realm.SAMLRealmCodec |
getSamlRealmCodec() |
org.apache.wss4j.common.crypto.Crypto |
getSignatureCrypto()
Get the signature Crypto object
|
org.apache.cxf.sts.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(org.apache.cxf.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(org.apache.cxf.sts.service.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(org.apache.cxf.sts.IdentityMapper identityMapper)
Set the IdentityMapper object to use.
|
void |
setIssuer(String issuer)
Set the STS issuer name
|
void |
setRealmParser(org.apache.cxf.sts.RealmParser realmParser)
Set the RealmParser object to use.
|
void |
setRelationships(List<org.apache.cxf.sts.token.realm.Relationship> relationships) |
void |
setSamlRealmCodec(org.apache.cxf.sts.token.realm.SAMLRealmCodec samlRealmCodec) |
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(org.apache.cxf.sts.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 org.apache.cxf.ws.security.sts.provider.STSException
configureProperties in interface org.apache.cxf.sts.STSPropertiesMBeanconfigureProperties in class org.apache.cxf.sts.StaticSTSPropertiesorg.apache.cxf.ws.security.sts.provider.STSExceptionpublic void setCallbackHandler(CallbackHandler callbackHandler)
setCallbackHandler in interface org.apache.cxf.sts.STSPropertiesMBeansetCallbackHandler in class org.apache.cxf.sts.StaticSTSPropertiescallbackHandler - the CallbackHandler object.public void setCallbackHandlerClass(String callbackHandlerClass)
setCallbackHandlerClass in class org.apache.cxf.sts.StaticSTSPropertiescallbackHandlerClass - the String corresponding to the CallbackHandler class.public CallbackHandler getCallbackHandler()
getCallbackHandler in interface org.apache.cxf.sts.STSPropertiesMBeangetCallbackHandler in class org.apache.cxf.sts.StaticSTSPropertiespublic void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto signatureCrypto)
setSignatureCrypto in interface org.apache.cxf.sts.STSPropertiesMBeansetSignatureCrypto in class org.apache.cxf.sts.StaticSTSPropertiessignatureCrypto - the signature Crypto object@Deprecated public void setSignaturePropertiesFile(String signaturePropertiesFile)
setSignaturePropertiesFile in class org.apache.cxf.sts.StaticSTSPropertiessignaturePropertiesFile - the String corresponding to the signature properties filepublic void setSignatureCryptoProperties(Object signatureCryptoProperties)
setSignatureCryptoProperties in class org.apache.cxf.sts.StaticSTSPropertiessignatureCryptoProperties - the object corresponding to the signature propertiespublic org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
getSignatureCrypto in interface org.apache.cxf.sts.STSPropertiesMBeangetSignatureCrypto in class org.apache.cxf.sts.StaticSTSPropertiespublic void setSignatureUsername(String signatureUsername)
setSignatureUsername in interface org.apache.cxf.sts.STSPropertiesMBeansetSignatureUsername in class org.apache.cxf.sts.StaticSTSPropertiessignatureUsername - the username/alias to use to sign any issued tokenspublic String getSignatureUsername()
getSignatureUsername in interface org.apache.cxf.sts.STSPropertiesMBeangetSignatureUsername in class org.apache.cxf.sts.StaticSTSPropertiespublic void setEncryptionCrypto(org.apache.wss4j.common.crypto.Crypto encryptionCrypto)
setEncryptionCrypto in interface org.apache.cxf.sts.STSPropertiesMBeansetEncryptionCrypto in class org.apache.cxf.sts.StaticSTSPropertiesencryptionCrypto - the encryption Crypto object@Deprecated public void setEncryptionPropertiesFile(String encryptionPropertiesFile)
setEncryptionPropertiesFile in class org.apache.cxf.sts.StaticSTSPropertiesencryptionPropertiesFile - the String corresponding to the encryption properties filepublic void setEncryptionCryptoProperties(Object encryptionCryptoProperties)
setEncryptionCryptoProperties in class org.apache.cxf.sts.StaticSTSPropertiesencryptionCryptoProperties - the object corresponding to the encryption propertiespublic org.apache.wss4j.common.crypto.Crypto getEncryptionCrypto()
getEncryptionCrypto in interface org.apache.cxf.sts.STSPropertiesMBeangetEncryptionCrypto in class org.apache.cxf.sts.StaticSTSPropertiespublic void setEncryptionUsername(String encryptionUsername)
setEncryptionUsername in interface org.apache.cxf.sts.STSPropertiesMBeansetEncryptionUsername in class org.apache.cxf.sts.StaticSTSPropertiesencryptionUsername - the username/alias to use to encrypt any issued tokenspublic String getEncryptionUsername()
getEncryptionUsername in interface org.apache.cxf.sts.STSPropertiesMBeangetEncryptionUsername in class org.apache.cxf.sts.StaticSTSPropertiespublic void setEncryptionProperties(org.apache.cxf.sts.service.EncryptionProperties encryptionProperties)
setEncryptionProperties in interface org.apache.cxf.sts.STSPropertiesMBeansetEncryptionProperties in class org.apache.cxf.sts.StaticSTSPropertiesencryptionProperties - the EncryptionProperties to use.public org.apache.cxf.sts.service.EncryptionProperties getEncryptionProperties()
getEncryptionProperties in interface org.apache.cxf.sts.STSPropertiesMBeangetEncryptionProperties in class org.apache.cxf.sts.StaticSTSPropertiespublic void setIssuer(String issuer)
setIssuer in interface org.apache.cxf.sts.STSPropertiesMBeansetIssuer in class org.apache.cxf.sts.StaticSTSPropertiesissuer - the STS issuer namepublic String getIssuer()
getIssuer in interface org.apache.cxf.sts.STSPropertiesMBeangetIssuer in class org.apache.cxf.sts.StaticSTSPropertiespublic void setSignatureProperties(org.apache.cxf.sts.SignatureProperties signatureProperties)
setSignatureProperties in interface org.apache.cxf.sts.STSPropertiesMBeansetSignatureProperties in class org.apache.cxf.sts.StaticSTSPropertiessignatureProperties - the SignatureProperties to use.public org.apache.cxf.sts.SignatureProperties getSignatureProperties()
getSignatureProperties in interface org.apache.cxf.sts.STSPropertiesMBeangetSignatureProperties in class org.apache.cxf.sts.StaticSTSPropertiespublic void setRealmParser(org.apache.cxf.sts.RealmParser realmParser)
setRealmParser in interface org.apache.cxf.sts.STSPropertiesMBeansetRealmParser in class org.apache.cxf.sts.StaticSTSPropertiesrealmParser - the RealmParser object to use.public org.apache.cxf.sts.RealmParser getRealmParser()
getRealmParser in interface org.apache.cxf.sts.STSPropertiesMBeangetRealmParser in class org.apache.cxf.sts.StaticSTSPropertiespublic void setIdentityMapper(org.apache.cxf.sts.IdentityMapper identityMapper)
setIdentityMapper in interface org.apache.cxf.sts.STSPropertiesMBeansetIdentityMapper in class org.apache.cxf.sts.StaticSTSPropertiesidentityMapper - the IdentityMapper object to use.public org.apache.cxf.sts.IdentityMapper getIdentityMapper()
getIdentityMapper in interface org.apache.cxf.sts.STSPropertiesMBeangetIdentityMapper in class org.apache.cxf.sts.StaticSTSPropertiespublic void setRelationships(List<org.apache.cxf.sts.token.realm.Relationship> relationships)
setRelationships in interface org.apache.cxf.sts.STSPropertiesMBeansetRelationships in class org.apache.cxf.sts.StaticSTSPropertiespublic List<org.apache.cxf.sts.token.realm.Relationship> getRelationships()
getRelationships in interface org.apache.cxf.sts.STSPropertiesMBeangetRelationships in class org.apache.cxf.sts.StaticSTSPropertiespublic org.apache.cxf.sts.token.realm.RelationshipResolver getRelationshipResolver()
getRelationshipResolver in interface org.apache.cxf.sts.STSPropertiesMBeangetRelationshipResolver in class org.apache.cxf.sts.StaticSTSPropertiespublic org.apache.cxf.sts.token.realm.SAMLRealmCodec getSamlRealmCodec()
getSamlRealmCodec in interface org.apache.cxf.sts.STSPropertiesMBeangetSamlRealmCodec in class org.apache.cxf.sts.StaticSTSPropertiespublic void setSamlRealmCodec(org.apache.cxf.sts.token.realm.SAMLRealmCodec samlRealmCodec)
setSamlRealmCodec in interface org.apache.cxf.sts.STSPropertiesMBeansetSamlRealmCodec in class org.apache.cxf.sts.StaticSTSPropertiespublic org.apache.cxf.Bus getBus()
getBus in class org.apache.cxf.sts.StaticSTSPropertiespublic void setBus(org.apache.cxf.Bus bus)
setBus in class org.apache.cxf.sts.StaticSTSPropertiespublic boolean isValidateUseKey()
isValidateUseKey in interface org.apache.cxf.sts.STSPropertiesMBeanisValidateUseKey in class org.apache.cxf.sts.StaticSTSPropertiespublic void setValidateUseKey(boolean validateUseKey)
setValidateUseKey in interface org.apache.cxf.sts.STSPropertiesMBeansetValidateUseKey in class org.apache.cxf.sts.StaticSTSPropertiesvalidateUseKey - whether to validate a client UseKey or not.This work is licensed under a Creative Commons Attribution 4.0 International License.