Class HttpAuthenticationFactory
java.lang.Object
org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
org.wildfly.security.auth.server.http.HttpAuthenticationFactory
- All Implemented Interfaces:
MechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException>
public final class HttpAuthenticationFactory
extends AbstractMechanismAuthenticationFactory<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
A HTTP authentication mechanism configuration, the configuration is associated with the
SecurityDomain and
HttpServerAuthenticationMechanismFactory for obtaining configured mechanisms.- Author:
- Darran Lofthouse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder for SASL server factory configurations. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Obtain a newHttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.protected HttpServerAuthenticationMechanismdoCreate(String name, CallbackHandler callbackHandler, UnaryOperator<HttpServerAuthenticationMechanismFactory> factoryTransformation) protected Collection<String>protected Collection<String>getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName) protected Collection<Class<? extends Credential>>getSupportedCredentialTypes(String mechName) protected Collection<String>getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName) protected Collection<Class<? extends Evidence>>getSupportedEvidenceTypes(String mechName) protected booleanisKnownMechanism(String mechName) voidprotected booleanusesCredentials(String mechName) Methods inherited from class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory
createMechanism, getFactory, getMechanismConfigurationSelector, getMechanismNames, getSecurityDomainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.server.MechanismAuthenticationFactory
createMechanism
-
Method Details
-
doCreate
protected HttpServerAuthenticationMechanism doCreate(String name, CallbackHandler callbackHandler, UnaryOperator<HttpServerAuthenticationMechanismFactory> factoryTransformation) throws HttpAuthenticationException -
getAllSupportedMechNames
-
getSupportedEvidenceTypes
-
getSupportedEvidenceAlgorithmNames
protected Collection<String> getSupportedEvidenceAlgorithmNames(Class<? extends AlgorithmEvidence> evidenceType, String mechName) -
getSupportedCredentialTypes
-
getSupportedCredentialAlgorithmNames
protected Collection<String> getSupportedCredentialAlgorithmNames(Class<? extends AlgorithmCredential> credentialType, String mechName) -
usesCredentials
-
isKnownMechanism
-
shutdownAuthenticationMechanismFactory
public void shutdownAuthenticationMechanismFactory() -
builder
Obtain a newHttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.- Returns:
- a new
HttpAuthenticationFactory.Buildercapable of building aHttpAuthenticationFactory.
-