Class AbstractSSOSpHandler

java.lang.Object
org.apache.cxf.rs.security.saml.sso.AbstractSSOSpHandler
Direct Known Subclasses:
AbstractRequestAssertionConsumerHandler, AbstractServiceProviderFilter, MetadataService

public class AbstractSSOSpHandler extends Object
  • Constructor Details

    • AbstractSSOSpHandler

      public AbstractSSOSpHandler()
  • Method Details

    • close

      @PreDestroy public void close()
    • setSignatureCrypto

      public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto)
    • setSignaturePropertiesFile

      public void setSignaturePropertiesFile(String signaturePropertiesFile)
      Set the String corresponding to the signature Properties class
      Parameters:
      signaturePropertiesFile - the String corresponding to the signature properties file
    • 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.
    • createCookie

      protected String createCookie(String name, String value, String path, String domain)
    • setStateProvider

      public void setStateProvider(SPStateManager stateProvider)
    • getStateProvider

      public SPStateManager getStateProvider()
    • setStateTimeToLive

      public void setStateTimeToLive(long stateTimeToLive)
    • getStateTimeToLive

      public long getStateTimeToLive()
    • getSignatureCrypto

      protected org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
    • getCallbackHandler

      protected CallbackHandler getCallbackHandler()
    • setSignatureUsername

      public void setSignatureUsername(String signatureUsername)
      Set the username/alias to use to sign any request
      Parameters:
      signatureUsername - the username/alias to use to sign any request
    • getSignatureUsername

      public String getSignatureUsername()
      Get the username/alias to use to sign any request
      Returns:
      the username/alias to use to sign any request
    • setIdpServiceAddress

      public void setIdpServiceAddress(String idpServiceAddress)
    • getIdpServiceAddress

      public String getIdpServiceAddress()
    • setIssuerId

      public void setIssuerId(String issuerId)
    • getIssuerId

      protected String getIssuerId(org.apache.cxf.message.Message m)
    • isSupportUnsolicited

      public boolean isSupportUnsolicited()
    • setSupportUnsolicited

      public void setSupportUnsolicited(boolean supportUnsolicited)
      Whether to support unsolicited IdP initiated login or not. The default is false.