Package org.apache.cxf.sts.token.realm
Class RealmProperties
java.lang.Object
org.apache.cxf.sts.token.realm.RealmProperties
This class defines some properties that are associated with a realm for issuing or validating a particular token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the CallbackHandler object.Get the issuer of this realmgetName()Get the name of this realmGet the signature alias to use for this realmorg.apache.wss4j.common.crypto.CryptoGet the signature Crypto objectGet the SignatureProperties to use.voidsetCallbackHandler(CallbackHandler callbackHandler) Set the CallbackHandler object.voidsetCallbackHandlerClass(String callbackHandlerClass) Set the String corresponding to the CallbackHandler class.voidSet the issuer of this realmvoidSet the name of this realmvoidsetSignatureAlias(String signatureAlias) Set the signature alias to use for this realmvoidsetSignatureCrypto(org.apache.wss4j.common.crypto.Crypto signatureCrypto) Set the signature Crypto objectvoidsetSignatureCryptoProperties(Object signatureCryptoProperties) Set the Object corresponding to the signature Properties class.voidsetSignatureProperties(SignatureProperties signatureProperties) Set the SignatureProperties to use.
-
Constructor Details
-
RealmProperties
public RealmProperties()
-
-
Method Details
-
getIssuer
Get the issuer of this realm- Returns:
- the issuer of this realm
-
getName
Get the name of this realm- Returns:
- realmA
-
setName
Set the name of this realm- Parameters:
name- the name of this realm
-
setIssuer
Set the issuer of this realm- Parameters:
issuer- the issuer of this realm
-
getSignatureAlias
Get the signature alias to use for this realm- Returns:
- the signature alias to use for this realm
-
setSignatureAlias
Set the signature alias to use for this realm- Parameters:
signatureAlias- the signature alias to use for this realm
-
setSignatureCrypto
public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto signatureCrypto) Set the signature Crypto object- Parameters:
signatureCrypto- the signature Crypto object
-
setSignatureCryptoProperties
Set the Object corresponding to the signature Properties class. It can be a String corresponding to a filename, a Properties object, or a URL.- Parameters:
signatureCryptoProperties- the object corresponding to the signature properties
-
setSignatureProperties
Set the SignatureProperties to use.- Parameters:
signatureProperties- the SignatureProperties to use.
-
getSignatureProperties
Get the SignatureProperties to use.- Returns:
- the SignatureProperties to use.
-
getSignatureCrypto
public org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()Get the signature Crypto object- Returns:
- the signature Crypto object
-
setCallbackHandler
Set the CallbackHandler object.- Parameters:
callbackHandler- the CallbackHandler object.
-
setCallbackHandlerClass
Set the String corresponding to the CallbackHandler class.- Parameters:
callbackHandlerClass- the String corresponding to the CallbackHandler class.
-
getCallbackHandler
Get the CallbackHandler object.- Returns:
- the CallbackHandler object.
-