Class SaslAuthenticationFactory.Builder
- java.lang.Object
-
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
-
- org.wildfly.security.auth.server.sasl.SaslAuthenticationFactory.Builder
-
- All Implemented Interfaces:
MechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
- Enclosing class:
- SaslAuthenticationFactory
public static final class SaslAuthenticationFactory.Builder extends AbstractMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
A builder for SASL server factory configurations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslAuthenticationFactorybuild()ScheduledExecutorServicegetScheduledExecutorService()Get the scheduled executor service.SaslAuthenticationFactory.BuildersetFactory(SaslServerFactory factory)SaslAuthenticationFactory.BuildersetMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)SaslAuthenticationFactory.BuildersetProperties(Map<String,Object> properties)SaslAuthenticationFactory.BuildersetScheduledExecutorService(ScheduledExecutorService scheduledExecutorService)Set the scheduled executor service.SaslAuthenticationFactory.BuildersetSecurityDomain(SecurityDomain securityDomain)-
Methods inherited from class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder
getFactory, getMechanismConfigurationSelector, getSecurityDomain
-
-
-
-
Method Detail
-
setSecurityDomain
public SaslAuthenticationFactory.Builder setSecurityDomain(SecurityDomain securityDomain)
- Specified by:
setSecurityDomainin interfaceMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>- Overrides:
setSecurityDomainin classAbstractMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
-
setMechanismConfigurationSelector
public SaslAuthenticationFactory.Builder setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
- Specified by:
setMechanismConfigurationSelectorin interfaceMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>- Overrides:
setMechanismConfigurationSelectorin classAbstractMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
-
setFactory
public SaslAuthenticationFactory.Builder setFactory(SaslServerFactory factory)
- Specified by:
setFactoryin interfaceMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>- Overrides:
setFactoryin classAbstractMechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
-
setProperties
public SaslAuthenticationFactory.Builder setProperties(Map<String,Object> properties)
-
setScheduledExecutorService
public SaslAuthenticationFactory.Builder setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Set the scheduled executor service.- Parameters:
scheduledExecutorService- the scheduled executor service.- Returns:
- this builder
-
getScheduledExecutorService
public ScheduledExecutorService getScheduledExecutorService()
Get the scheduled executor service.- Returns:
- scheduled executor service (may be
null)
-
build
public SaslAuthenticationFactory build()
-
-