M
- the type of mechanismF
- the type of the mechanism's factoryE
- the mechanism-type-specific exception that may be thrown upon instantiationpublic interface MechanismAuthenticationFactory<M,F,E extends Exception>
Modifier and Type | Interface and Description |
---|---|
static interface |
MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
A builder for a
MechanismAuthenticationFactory . |
Modifier and Type | Method and Description |
---|---|
default M |
createMechanism(String name)
Create the mechanism instance.
|
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. |
SecurityDomain getSecurityDomain()
SecurityDomain
that mechanisms created by this factory will be using for authentication.SecurityDomain
that mechanisms created by this factory will be using for authentication.F getFactory()
null
)M createMechanism(String name, UnaryOperator<F> factoryTransformation) throws E extends Exception
default M createMechanism(String name) throws E extends Exception
Collection<String> getMechanismNames()
null
)Copyright © 2020 JBoss by Red Hat. All rights reserved.