Package org.wildfly.security.http.basic
Class BasicMechanismFactory
java.lang.Object
org.wildfly.security.http.basic.BasicMechanismFactory
- All Implemented Interfaces:
HttpServerAuthenticationMechanismFactory
@MetaInfServices(org.wildfly.security.http.HttpServerAuthenticationMechanismFactory.class)
public class BasicMechanismFactory
extends Object
implements HttpServerAuthenticationMechanismFactory
A
HttpServerAuthenticationMechanismFactory implementation for the Basic HTTP authentication mechanism.- Author:
- Darran Lofthouse
-
Constructor Summary
ConstructorsConstructorDescriptionBasicMechanismFactory(Provider provider) BasicMechanismFactory(Provider... providers) -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthenticationMechanism(String mechanismName, Map<String, ?> properties, CallbackHandler callbackHandler) String[]getMechanismNames(Map<String, ?> properties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.http.HttpServerAuthenticationMechanismFactory
shutdown
-
Constructor Details
-
BasicMechanismFactory
public BasicMechanismFactory() -
BasicMechanismFactory
-
BasicMechanismFactory
-
-
Method Details
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceHttpServerAuthenticationMechanismFactory- See Also:
-
createAuthenticationMechanism
public HttpServerAuthenticationMechanism createAuthenticationMechanism(String mechanismName, Map<String, ?> properties, CallbackHandler callbackHandler) throws HttpAuthenticationException- Specified by:
createAuthenticationMechanismin interfaceHttpServerAuthenticationMechanismFactory- Throws:
HttpAuthenticationException
-