Interface AuthenticationMechanismFactory

All Known Implementing Classes:
BasicAuthenticationMechanism.Factory, ClientCertAuthenticationMechanism.Factory, DigestAuthenticationMechanism.Factory, ExternalAuthenticationMechanism.Factory, GenericHeaderAuthenticationMechanism.Factory, ImmediateAuthenticationMechanismFactory

public interface AuthenticationMechanismFactory
Factory for authentication mechanisms.
Author:
Stuart Douglas
  • Field Details

  • Method Details

    • create

      @Deprecated default AuthenticationMechanism create(String mechanismName, FormParserFactory formParserFactory, Map<String,String> properties)
      Deprecated.
      Creates an authentication mechanism using the specified properties
      Parameters:
      mechanismName - The name under which this factory was registered
      properties - The properties
      formParserFactory - Parser to create a form data parser for a given request.
      Returns:
      The mechanism
    • create

      default AuthenticationMechanism create(String mechanismName, IdentityManager identityManager, FormParserFactory formParserFactory, Map<String,String> properties)
      Creates an authentication mechanism that needs access to the deployment IdentityManager and specified properties
      Parameters:
      mechanismName - The name under which this factory was registered
      identityManager - the IdentityManager instance asscociated with the deployment
      formParserFactory - Parser to create a form data parser for a given request.
      properties - The properties
      Returns:
      The mechanism