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>
- 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 -
Method Summary
Modifier and TypeMethodDescriptionsetFactory(F factory) Set the mechanism's underlying factory.setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector) Set theMechanismConfigurationSelectorfor the factory being built.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, waitMethods inherited from interface org.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder
build
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
setSecurityDomain
public AbstractMechanismAuthenticationFactory.Builder<M,F, setSecurityDomainE> (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, setMechanismConfigurationSelectorE> (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
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
-
getMechanismConfigurationSelector
-
getFactory
-