
public final class SaslAuthenticationFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SaslAuthenticationFactory.Builder
A builder for SASL server factory configurations.
|
| Modifier and Type | Method and Description |
|---|---|
static SaslAuthenticationFactory.Builder |
builder()
Obtain a new
SaslAuthenticationFactory.Builder capable of building a SaslAuthenticationFactory. |
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 SaslAuthenticationFactory.Builder builder()
SaslAuthenticationFactory.Builder capable of building a SaslAuthenticationFactory.SaslAuthenticationFactory.Builder capable of building a SaslAuthenticationFactory.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.