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 Details

    • RealmProperties

      public RealmProperties()
  • Method Details

    • 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.