Class BasicMechanismFactory
java.lang.Object
org.wildfly.security.http.sfbasic.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
-
Field Summary
Fields -
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) voidshutdown()
-
Field Details
-
STATEFUL_BASIC_NAME
- See Also:
-
COOKIE_NAME
- See Also:
-
-
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
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceHttpServerAuthenticationMechanismFactory
-