Class HttpAuthenticationFactory

java.lang.Object
org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
org.wildfly.security.auth.server.http.HttpAuthenticationFactory
All Implemented Interfaces:
org.wildfly.security.auth.server.MechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>

public final class HttpAuthenticationFactory extends org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
A HTTP authentication mechanism configuration, the configuration is associated with the SecurityDomain and HttpServerAuthenticationMechanismFactory for obtaining configured mechanisms.
Author:
Darran Lofthouse
  • Method Details

    • doCreate

      protected org.wildfly.security.http.HttpServerAuthenticationMechanism doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<org.wildfly.security.http.HttpServerAuthenticationMechanismFactory> factoryTransformation) throws org.wildfly.security.http.HttpAuthenticationException
      Specified by:
      doCreate in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
      Throws:
      org.wildfly.security.http.HttpAuthenticationException
    • getAllSupportedMechNames

      protected Collection<String> getAllSupportedMechNames()
      Specified by:
      getAllSupportedMechNames in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • getSupportedEvidenceTypes

      protected Collection<Class<? extends org.wildfly.security.evidence.Evidence>> getSupportedEvidenceTypes(String mechName)
      Specified by:
      getSupportedEvidenceTypes in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • getSupportedEvidenceAlgorithmNames

      protected Collection<String> getSupportedEvidenceAlgorithmNames(Class<? extends org.wildfly.security.evidence.AlgorithmEvidence> evidenceType, String mechName)
      Specified by:
      getSupportedEvidenceAlgorithmNames in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • getSupportedCredentialTypes

      protected Collection<Class<? extends org.wildfly.security.credential.Credential>> getSupportedCredentialTypes(String mechName)
      Specified by:
      getSupportedCredentialTypes in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • getSupportedCredentialAlgorithmNames

      protected Collection<String> getSupportedCredentialAlgorithmNames(Class<? extends org.wildfly.security.credential.AlgorithmCredential> credentialType, String mechName)
      Specified by:
      getSupportedCredentialAlgorithmNames in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • usesCredentials

      protected boolean usesCredentials(String mechName)
      Specified by:
      usesCredentials in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • isKnownMechanism

      protected boolean isKnownMechanism(String mechName)
      Overrides:
      isKnownMechanism in class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<org.wildfly.security.http.HttpServerAuthenticationMechanism, org.wildfly.security.http.HttpServerAuthenticationMechanismFactory, org.wildfly.security.http.HttpAuthenticationException>
    • shutdownAuthenticationMechanismFactory

      public void shutdownAuthenticationMechanismFactory()
    • builder

      public static HttpAuthenticationFactory.Builder builder()
      Returns:
      a new HttpAuthenticationFactory.Builder capable of building a HttpAuthenticationFactory.