Class SingleSignOnServerMechanismFactory

java.lang.Object
org.wildfly.security.http.util.sso.SingleSignOnServerMechanismFactory
All Implemented Interfaces:
org.wildfly.security.http.HttpServerAuthenticationMechanismFactory

public class SingleSignOnServerMechanismFactory extends Object implements org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
Deprecated.
Only inner class SingleSignOnConfiguration is deprecated.

A HttpServerAuthenticationMechanismFactory which enables single sign-on to the mechanisms provided by a another http mechanism factory.

The single sign-one capabilities provided by this factory is based on a HTTP Cookie to track SSO sessions and also an IdentityCache providing a storage (eg.: using a shared or distributable cache/map) for these sessions and related data.

Author:
Pedro Igor, Paul Ferraro
  • Constructor Details

    • SingleSignOnServerMechanismFactory

      public SingleSignOnServerMechanismFactory(org.wildfly.security.http.HttpServerAuthenticationMechanismFactory delegate, SingleSignOnSessionFactory singleSignOnSessionFactory, SingleSignOnConfiguration configuration)
      Deprecated.
      Creates a new instance.
      Parameters:
      delegate - the factory holding the target mechanisms
      singleSignOnSessionFactory - a custom SingleSignOnManager
      configuration - the configuration related with the cookie representing user's session
    • SingleSignOnServerMechanismFactory

      @Deprecated public SingleSignOnServerMechanismFactory(org.wildfly.security.http.HttpServerAuthenticationMechanismFactory delegate, SingleSignOnSessionFactory singleSignOnSessionFactory, SingleSignOnServerMechanismFactory.SingleSignOnConfiguration configuration)
      Deprecated.
      Creates a new instance.
      Parameters:
      delegate - the factory holding the target mechanisms
      singleSignOnSessionFactory - a custom SingleSignOnManager
      configuration - the configuration related with the cookie representing user's session
  • Method Details

    • getMechanismNames

      public String[] getMechanismNames(Map<String,?> properties)
      Deprecated.
      Specified by:
      getMechanismNames in interface org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
    • createAuthenticationMechanism

      public org.wildfly.security.http.HttpServerAuthenticationMechanism createAuthenticationMechanism(String mechanismName, Map<String,?> properties, CallbackHandler callbackHandler) throws org.wildfly.security.http.HttpAuthenticationException
      Deprecated.
      Specified by:
      createAuthenticationMechanism in interface org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
      Throws:
      org.wildfly.security.http.HttpAuthenticationException