Class SaslAuthenticationFactory.Builder
java.lang.Object
org.wildfly.security.auth.server.sasl.SaslAuthenticationFactory.Builder
- All Implemented Interfaces:
org.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder<SaslServer, SaslServerFactory, SaslException>
- Enclosing class:
SaslAuthenticationFactory
A builder for SASL server factory configurations.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Get the scheduled executor service.setFactory(SaslServerFactory factory) setMechanismConfigurationSelector(org.wildfly.security.auth.server.MechanismConfigurationSelector mechanismConfigurationSelector) setProperties(Map<String, Object> properties) setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Set the scheduled executor service.setSecurityDomain(org.wildfly.security.auth.server.SecurityDomain securityDomain)
-
Method Details
-
setSecurityDomain
public SaslAuthenticationFactory.Builder setSecurityDomain(org.wildfly.security.auth.server.SecurityDomain securityDomain) - Specified by:
setSecurityDomainin interfaceorg.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder<SaslServer, SaslServerFactory, SaslException>
-
setMechanismConfigurationSelector
public SaslAuthenticationFactory.Builder setMechanismConfigurationSelector(org.wildfly.security.auth.server.MechanismConfigurationSelector mechanismConfigurationSelector) - Specified by:
setMechanismConfigurationSelectorin interfaceorg.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder<SaslServer, SaslServerFactory, SaslException>
-
setFactory
- Specified by:
setFactoryin interfaceorg.wildfly.security.auth.server.MechanismAuthenticationFactory.Builder<SaslServer, SaslServerFactory, SaslException>
-
setProperties
-
setScheduledExecutorService
public SaslAuthenticationFactory.Builder setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Set the scheduled executor service.- Parameters:
scheduledExecutorService- the scheduled executor service.- Returns:
- this builder
-
getScheduledExecutorService
Get the scheduled executor service.- Returns:
- scheduled executor service (may be
null)
-
build
-