
public final class HttpAuthenticationFactory extends Object
SecurityDomain and
HttpServerAuthenticationMechanismFactory for obtaining configured mechanisms.| Modifier and Type | Class and Description |
|---|---|
static class |
HttpAuthenticationFactory.Builder
A builder for SASL server factory configurations.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpAuthenticationFactory.Builder |
builder()
Obtain a new
HttpAuthenticationFactory.Builder capable of building a HttpAuthenticationFactory. |
M |
createMechanism(String name,
UnaryOperator<F> factoryTransformation)
Create the mechanism instance.
|
F |
getFactory()
Get the actual factory used for instantiation.
|
Collection<String> |
getMechanismNames()
Get the collection of mechanism names may be supported by this factory.
|
SecurityDomain |
getSecurityDomain()
Get the underlying
SecurityDomain that mechanisms created by this factory will be using for authentication. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateMechanismpublic static HttpAuthenticationFactory.Builder builder()
HttpAuthenticationFactory.Builder capable of building a HttpAuthenticationFactory.HttpAuthenticationFactory.Builder capable of building a HttpAuthenticationFactory.public SecurityDomain getSecurityDomain()
MechanismAuthenticationFactorySecurityDomain that mechanisms created by this factory will be using for authentication.getSecurityDomain in interface MechanismAuthenticationFactory<M,F,E extends Exception>SecurityDomain that mechanisms created by this factory will be using for authentication.public F getFactory()
MechanismAuthenticationFactorygetFactory in interface MechanismAuthenticationFactory<M,F,E extends Exception>null)public M createMechanism(String name, UnaryOperator<F> factoryTransformation) throws E extends Exception
MechanismAuthenticationFactorycreateMechanism in interface MechanismAuthenticationFactory<M,F,E extends Exception>name - the mechanism name (must not be null)factoryTransformation - the transformation to apply to the factory (must not be null)null if the mechanism with the given name is not supportedE - if the mechanism instantiation failedE extends Exceptionpublic Collection<String> getMechanismNames()
MechanismAuthenticationFactorygetMechanismNames in interface MechanismAuthenticationFactory<M,F,E extends Exception>null)Copyright © 2020 JBoss by Red Hat. All rights reserved.