Package org.wildfly.security.http.bearer
Class BearerMechanismFactory
java.lang.Object
org.wildfly.security.http.bearer.BearerMechanismFactory
- All Implemented Interfaces:
HttpServerAuthenticationMechanismFactory
@MetaInfServices(org.wildfly.security.http.HttpServerAuthenticationMechanismFactory.class)
public class BearerMechanismFactory
extends Object
implements HttpServerAuthenticationMechanismFactory
A
HttpServerAuthenticationMechanismFactory implementation for the Bearer HTTP authentication mechanism.- Author:
- Darran Lofthouse
-
Constructor Summary
ConstructorsConstructorDescriptionBearerMechanismFactory(Provider provider) BearerMechanismFactory(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
-
BearerMechanismFactory
public BearerMechanismFactory() -
BearerMechanismFactory
-
BearerMechanismFactory
-
-
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
-