public static final class SaslAuthenticationFactory.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SaslAuthenticationFactory |
build()
Build the mechanism factory.
|
SaslAuthenticationFactory.Builder |
setFactory(SaslServerFactory factory)
Set the mechanism's underlying factory.
|
SaslAuthenticationFactory.Builder |
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set the
MechanismConfigurationSelector for the factory being built. |
SaslAuthenticationFactory.Builder |
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not be
null ). |
public SaslAuthenticationFactory.Builder setSecurityDomain(SecurityDomain securityDomain)
MechanismAuthenticationFactory.Builder
null
).setSecurityDomain
in interface MechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
securityDomain
- the security domain (may not be null
)public SaslAuthenticationFactory.Builder setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
MechanismAuthenticationFactory.Builder
MechanismConfigurationSelector
for the factory being built.setMechanismConfigurationSelector
in interface MechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
mechanismConfigurationSelector
- the MechanismConfigurationSelector
for the factory being built.public SaslAuthenticationFactory.Builder setFactory(SaslServerFactory factory)
MechanismAuthenticationFactory.Builder
setFactory
in interface MechanismAuthenticationFactory.Builder<SaslServer,SaslServerFactory,SaslException>
factory
- the factory (must not be null
)public SaslAuthenticationFactory build()
MechanismAuthenticationFactory.Builder
Copyright © 2020 JBoss by Red Hat. All rights reserved.