protected abstract static class AbstractMechanismAuthenticationFactory.Builder<M,F,E extends Exception> extends Object implements MechanismAuthenticationFactory.Builder<M,F,E>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
F |
getFactory() |
MechanismConfigurationSelector |
getMechanismConfigurationSelector() |
SecurityDomain |
getSecurityDomain() |
AbstractMechanismAuthenticationFactory.Builder<M,F,E> |
setFactory(F factory)
Set the mechanism's underlying factory.
|
AbstractMechanismAuthenticationFactory.Builder<M,F,E> |
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set the
MechanismConfigurationSelector for the factory being built. |
AbstractMechanismAuthenticationFactory.Builder<M,F,E> |
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not be
null ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setSecurityDomain(SecurityDomain securityDomain)
MechanismAuthenticationFactory.Builder
null
).setSecurityDomain
in interface MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
securityDomain
- the security domain (may not be null
)public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
MechanismAuthenticationFactory.Builder
MechanismConfigurationSelector
for the factory being built.setMechanismConfigurationSelector
in interface MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
mechanismConfigurationSelector
- the MechanismConfigurationSelector
for the factory being built.public AbstractMechanismAuthenticationFactory.Builder<M,F,E> setFactory(F factory)
MechanismAuthenticationFactory.Builder
setFactory
in interface MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
factory
- the factory (must not be null
)public SecurityDomain getSecurityDomain()
public MechanismConfigurationSelector getMechanismConfigurationSelector()
public F getFactory()
Copyright © 2019 JBoss by Red Hat. All rights reserved.