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>
-
-
Field Summary
Fields Modifier and Type Field Description private Ffactoryprivate MechanismConfigurationSelectormechanismConfigurationSelectorprivate SecurityDomainsecurityDomain
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FgetFactory()MechanismConfigurationSelectorgetMechanismConfigurationSelector()SecurityDomaingetSecurityDomain()AbstractMechanismAuthenticationFactory.Builder<M,F,E>setFactory(F factory)Set the mechanism's underlying factory.AbstractMechanismAuthenticationFactory.Builder<M,F,E>setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)Set theMechanismConfigurationSelectorfor 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
-
-
-
-
Field Detail
-
securityDomain
private SecurityDomain securityDomain
-
mechanismConfigurationSelector
private MechanismConfigurationSelector mechanismConfigurationSelector
-
factory
private F factory
-
-
Method Detail
-
setSecurityDomain
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setSecurityDomain(SecurityDomain securityDomain)
Description copied from interface:MechanismAuthenticationFactory.BuilderSet the security domain to be used for this factory (may not benull).- Specified by:
setSecurityDomainin 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.BuilderSet theMechanismConfigurationSelectorfor the factory being built.- Specified by:
setMechanismConfigurationSelectorin interfaceMechanismAuthenticationFactory.Builder<M,F,E extends Exception>- Parameters:
mechanismConfigurationSelector- theMechanismConfigurationSelectorfor the factory being built.- Returns:
- this builder
-
setFactory
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setFactory(F factory)
Description copied from interface:MechanismAuthenticationFactory.BuilderSet the mechanism's underlying factory.- Specified by:
setFactoryin 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()
-
-