Class KeycloakHttpServerAuthenticationMechanismFactory

java.lang.Object
org.keycloak.adapters.saml.elytron.KeycloakHttpServerAuthenticationMechanismFactory
All Implemented Interfaces:
org.wildfly.security.http.HttpServerAuthenticationMechanismFactory

public class KeycloakHttpServerAuthenticationMechanismFactory extends Object implements org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
Author:
Pedro Igor
  • Constructor Details

    • KeycloakHttpServerAuthenticationMechanismFactory

      public KeycloakHttpServerAuthenticationMechanismFactory()

      Creates a new instance.

      A default constructor is necessary in order to allow this factory to be loaded via ServiceLoader.

    • KeycloakHttpServerAuthenticationMechanismFactory

      public KeycloakHttpServerAuthenticationMechanismFactory(SamlDeploymentContext deploymentContext)
  • Method Details

    • getMechanismNames

      public String[] getMechanismNames(Map<String,?> properties)
      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
      Specified by:
      createAuthenticationMechanism in interface org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
      Throws:
      org.wildfly.security.http.HttpAuthenticationException