Package org.apache.cxf.sts.token.realm
Class RealmProperties
- java.lang.Object
-
- org.apache.cxf.sts.token.realm.RealmProperties
-
public class RealmProperties extends Object
This class defines some properties that are associated with a realm for issuing or validating a particular token.
-
-
Constructor Summary
Constructors Constructor Description RealmProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallbackHandlergetCallbackHandler()Get the CallbackHandler object.StringgetIssuer()Get the issuer of this realmStringgetName()Get the name of this realmStringgetSignatureAlias()Get the signature alias to use for this realmorg.apache.wss4j.common.crypto.CryptogetSignatureCrypto()Get the signature Crypto objectSignaturePropertiesgetSignatureProperties()Get the SignatureProperties to use.voidsetCallbackHandler(CallbackHandler callbackHandler)Set the CallbackHandler object.voidsetCallbackHandlerClass(String callbackHandlerClass)Set the String corresponding to the CallbackHandler class.voidsetIssuer(String issuer)Set the issuer of this realmvoidsetName(String name)Set 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.
-
-
-
Method Detail
-
getIssuer
public String getIssuer()
Get the issuer of this realm- Returns:
- the issuer of this realm
-
getName
public String getName()
Get the name of this realm- Returns:
- realmA
-
setName
public void setName(String name)
Set the name of this realm- Parameters:
name- the name of this realm
-
setIssuer
public void setIssuer(String issuer)
Set the issuer of this realm- Parameters:
issuer- the issuer of this realm
-
getSignatureAlias
public String getSignatureAlias()
Get the signature alias to use for this realm- Returns:
- the signature alias to use for this realm
-
setSignatureAlias
public void setSignatureAlias(String signatureAlias)
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
public void setSignatureCryptoProperties(Object signatureCryptoProperties)
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
public void setSignatureProperties(SignatureProperties signatureProperties)
Set the SignatureProperties to use.- Parameters:
signatureProperties- the SignatureProperties to use.
-
getSignatureProperties
public SignatureProperties 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
public void setCallbackHandler(CallbackHandler callbackHandler)
Set the CallbackHandler object.- Parameters:
callbackHandler- the CallbackHandler object.
-
setCallbackHandlerClass
public void setCallbackHandlerClass(String callbackHandlerClass)
Set the String corresponding to the CallbackHandler class.- Parameters:
callbackHandlerClass- the String corresponding to the CallbackHandler class.
-
getCallbackHandler
public CallbackHandler getCallbackHandler()
Get the CallbackHandler object.- Returns:
- the CallbackHandler object.
-
-