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.STSPropertiesMBean
configureProperties
in class org.apache.cxf.sts.StaticSTSProperties
org.apache.cxf.ws.security.sts.provider.STSException
public void setCallbackHandler(CallbackHandler callbackHandler)
setCallbackHandler
in interface org.apache.cxf.sts.STSPropertiesMBean
setCallbackHandler
in class org.apache.cxf.sts.StaticSTSProperties
callbackHandler
- the CallbackHandler object.public void setCallbackHandlerClass(String callbackHandlerClass)
setCallbackHandlerClass
in class org.apache.cxf.sts.StaticSTSProperties
callbackHandlerClass
- the String corresponding to the CallbackHandler class.public CallbackHandler getCallbackHandler()
getCallbackHandler
in interface org.apache.cxf.sts.STSPropertiesMBean
getCallbackHandler
in class org.apache.cxf.sts.StaticSTSProperties
public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto signatureCrypto)
setSignatureCrypto
in interface org.apache.cxf.sts.STSPropertiesMBean
setSignatureCrypto
in class org.apache.cxf.sts.StaticSTSProperties
signatureCrypto
- the signature Crypto object@Deprecated public void setSignaturePropertiesFile(String signaturePropertiesFile)
setSignaturePropertiesFile
in class org.apache.cxf.sts.StaticSTSProperties
signaturePropertiesFile
- the String corresponding to the signature properties filepublic void setSignatureCryptoProperties(Object signatureCryptoProperties)
setSignatureCryptoProperties
in class org.apache.cxf.sts.StaticSTSProperties
signatureCryptoProperties
- the object corresponding to the signature propertiespublic org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
getSignatureCrypto
in interface org.apache.cxf.sts.STSPropertiesMBean
getSignatureCrypto
in class org.apache.cxf.sts.StaticSTSProperties
public void setSignatureUsername(String signatureUsername)
setSignatureUsername
in interface org.apache.cxf.sts.STSPropertiesMBean
setSignatureUsername
in class org.apache.cxf.sts.StaticSTSProperties
signatureUsername
- the username/alias to use to sign any issued tokenspublic String getSignatureUsername()
getSignatureUsername
in interface org.apache.cxf.sts.STSPropertiesMBean
getSignatureUsername
in class org.apache.cxf.sts.StaticSTSProperties
public void setEncryptionCrypto(org.apache.wss4j.common.crypto.Crypto encryptionCrypto)
setEncryptionCrypto
in interface org.apache.cxf.sts.STSPropertiesMBean
setEncryptionCrypto
in class org.apache.cxf.sts.StaticSTSProperties
encryptionCrypto
- the encryption Crypto object@Deprecated public void setEncryptionPropertiesFile(String encryptionPropertiesFile)
setEncryptionPropertiesFile
in class org.apache.cxf.sts.StaticSTSProperties
encryptionPropertiesFile
- the String corresponding to the encryption properties filepublic void setEncryptionCryptoProperties(Object encryptionCryptoProperties)
setEncryptionCryptoProperties
in class org.apache.cxf.sts.StaticSTSProperties
encryptionCryptoProperties
- the object corresponding to the encryption propertiespublic org.apache.wss4j.common.crypto.Crypto getEncryptionCrypto()
getEncryptionCrypto
in interface org.apache.cxf.sts.STSPropertiesMBean
getEncryptionCrypto
in class org.apache.cxf.sts.StaticSTSProperties
public void setEncryptionUsername(String encryptionUsername)
setEncryptionUsername
in interface org.apache.cxf.sts.STSPropertiesMBean
setEncryptionUsername
in class org.apache.cxf.sts.StaticSTSProperties
encryptionUsername
- the username/alias to use to encrypt any issued tokenspublic String getEncryptionUsername()
getEncryptionUsername
in interface org.apache.cxf.sts.STSPropertiesMBean
getEncryptionUsername
in class org.apache.cxf.sts.StaticSTSProperties
public void setEncryptionProperties(org.apache.cxf.sts.service.EncryptionProperties encryptionProperties)
setEncryptionProperties
in interface org.apache.cxf.sts.STSPropertiesMBean
setEncryptionProperties
in class org.apache.cxf.sts.StaticSTSProperties
encryptionProperties
- the EncryptionProperties to use.public org.apache.cxf.sts.service.EncryptionProperties getEncryptionProperties()
getEncryptionProperties
in interface org.apache.cxf.sts.STSPropertiesMBean
getEncryptionProperties
in class org.apache.cxf.sts.StaticSTSProperties
public void setIssuer(String issuer)
setIssuer
in interface org.apache.cxf.sts.STSPropertiesMBean
setIssuer
in class org.apache.cxf.sts.StaticSTSProperties
issuer
- the STS issuer namepublic String getIssuer()
getIssuer
in interface org.apache.cxf.sts.STSPropertiesMBean
getIssuer
in class org.apache.cxf.sts.StaticSTSProperties
public void setSignatureProperties(org.apache.cxf.sts.SignatureProperties signatureProperties)
setSignatureProperties
in interface org.apache.cxf.sts.STSPropertiesMBean
setSignatureProperties
in class org.apache.cxf.sts.StaticSTSProperties
signatureProperties
- the SignatureProperties to use.public org.apache.cxf.sts.SignatureProperties getSignatureProperties()
getSignatureProperties
in interface org.apache.cxf.sts.STSPropertiesMBean
getSignatureProperties
in class org.apache.cxf.sts.StaticSTSProperties
public void setRealmParser(org.apache.cxf.sts.RealmParser realmParser)
setRealmParser
in interface org.apache.cxf.sts.STSPropertiesMBean
setRealmParser
in class org.apache.cxf.sts.StaticSTSProperties
realmParser
- the RealmParser object to use.public org.apache.cxf.sts.RealmParser getRealmParser()
getRealmParser
in interface org.apache.cxf.sts.STSPropertiesMBean
getRealmParser
in class org.apache.cxf.sts.StaticSTSProperties
public void setIdentityMapper(org.apache.cxf.sts.IdentityMapper identityMapper)
setIdentityMapper
in interface org.apache.cxf.sts.STSPropertiesMBean
setIdentityMapper
in class org.apache.cxf.sts.StaticSTSProperties
identityMapper
- the IdentityMapper object to use.public org.apache.cxf.sts.IdentityMapper getIdentityMapper()
getIdentityMapper
in interface org.apache.cxf.sts.STSPropertiesMBean
getIdentityMapper
in class org.apache.cxf.sts.StaticSTSProperties
public void setRelationships(List<org.apache.cxf.sts.token.realm.Relationship> relationships)
setRelationships
in interface org.apache.cxf.sts.STSPropertiesMBean
setRelationships
in class org.apache.cxf.sts.StaticSTSProperties
public List<org.apache.cxf.sts.token.realm.Relationship> getRelationships()
getRelationships
in interface org.apache.cxf.sts.STSPropertiesMBean
getRelationships
in class org.apache.cxf.sts.StaticSTSProperties
public org.apache.cxf.sts.token.realm.RelationshipResolver getRelationshipResolver()
getRelationshipResolver
in interface org.apache.cxf.sts.STSPropertiesMBean
getRelationshipResolver
in class org.apache.cxf.sts.StaticSTSProperties
public org.apache.cxf.sts.token.realm.SAMLRealmCodec getSamlRealmCodec()
getSamlRealmCodec
in interface org.apache.cxf.sts.STSPropertiesMBean
getSamlRealmCodec
in class org.apache.cxf.sts.StaticSTSProperties
public void setSamlRealmCodec(org.apache.cxf.sts.token.realm.SAMLRealmCodec samlRealmCodec)
setSamlRealmCodec
in interface org.apache.cxf.sts.STSPropertiesMBean
setSamlRealmCodec
in class org.apache.cxf.sts.StaticSTSProperties
public org.apache.cxf.Bus getBus()
getBus
in class org.apache.cxf.sts.StaticSTSProperties
public void setBus(org.apache.cxf.Bus bus)
setBus
in class org.apache.cxf.sts.StaticSTSProperties
public boolean isValidateUseKey()
isValidateUseKey
in interface org.apache.cxf.sts.STSPropertiesMBean
isValidateUseKey
in class org.apache.cxf.sts.StaticSTSProperties
public void setValidateUseKey(boolean validateUseKey)
setValidateUseKey
in interface org.apache.cxf.sts.STSPropertiesMBean
setValidateUseKey
in class org.apache.cxf.sts.StaticSTSProperties
validateUseKey
- whether to validate a client UseKey or not.This work is licensed under a Creative Commons Attribution 4.0 International License.