Package org.wildfly.security.auth.server
Class AbstractMechanismAuthenticationFactory.Builder<M,F,E extends Exception>
- java.lang.Object
-
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder<M,F,E>
-
- All Implemented Interfaces:
MechanismAuthenticationFactory.Builder<M,F,E>
- Direct Known Subclasses:
HttpAuthenticationFactory.Builder
,HttpAuthenticationFactory.Builder
,SaslAuthenticationFactory.Builder
,SaslAuthenticationFactory.Builder
- Enclosing class:
- AbstractMechanismAuthenticationFactory<M,F,E extends Exception>
protected abstract static class AbstractMechanismAuthenticationFactory.Builder<M,F,E extends Exception> extends Object implements MechanismAuthenticationFactory.Builder<M,F,E>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description F
getFactory()
MechanismConfigurationSelector
getMechanismConfigurationSelector()
SecurityDomain
getSecurityDomain()
AbstractMechanismAuthenticationFactory.Builder<M,F,E>
setFactory(F factory)
Set the mechanism's underlying factory.AbstractMechanismAuthenticationFactory.Builder<M,F,E>
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set theMechanismConfigurationSelector
for the factory being built.AbstractMechanismAuthenticationFactory.Builder<M,F,E>
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not benull
).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder
build
-
-
-
-
Method Detail
-
setSecurityDomain
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setSecurityDomain(SecurityDomain securityDomain)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set the security domain to be used for this factory (may not benull
).- Specified by:
setSecurityDomain
in interfaceMechanismAuthenticationFactory.Builder<M,F,E extends Exception>
- Parameters:
securityDomain
- the security domain (may not benull
)- Returns:
- this builder
-
setMechanismConfigurationSelector
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set theMechanismConfigurationSelector
for the factory being built.- Specified by:
setMechanismConfigurationSelector
in interfaceMechanismAuthenticationFactory.Builder<M,F,E extends Exception>
- Parameters:
mechanismConfigurationSelector
- theMechanismConfigurationSelector
for the factory being built.- Returns:
- this builder
-
setFactory
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setFactory(F factory)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set the mechanism's underlying factory.- Specified by:
setFactory
in interfaceMechanismAuthenticationFactory.Builder<M,F,E extends Exception>
- Parameters:
factory
- the factory (must not benull
)- Returns:
- this builder
-
getSecurityDomain
public SecurityDomain getSecurityDomain()
-
getMechanismConfigurationSelector
public MechanismConfigurationSelector getMechanismConfigurationSelector()
-
getFactory
public F getFactory()
-
-