Package org.wildfly.security.auth.server
Interface MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
-
- Type Parameters:
M
- the type of mechanismF
- the type of the mechanism's factoryE
- the mechanism-type-specific exception that may be thrown upon instantiation
- All Known Implementing Classes:
AbstractMechanismAuthenticationFactory.Builder
,HttpAuthenticationFactory.Builder
,HttpAuthenticationFactory.Builder
,SaslAuthenticationFactory.Builder
,SaslAuthenticationFactory.Builder
- Enclosing interface:
- MechanismAuthenticationFactory<M,F,E extends Exception>
public static interface MechanismAuthenticationFactory.Builder<M,F,E extends Exception>
A builder for aMechanismAuthenticationFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MechanismAuthenticationFactory<M,F,E>
build()
Build the mechanism factory.MechanismAuthenticationFactory.Builder<M,F,E>
setFactory(F factory)
Set the mechanism's underlying factory.MechanismAuthenticationFactory.Builder<M,F,E>
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set theMechanismConfigurationSelector
for the factory being built.MechanismAuthenticationFactory.Builder<M,F,E>
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not benull
).
-
-
-
Method Detail
-
setSecurityDomain
MechanismAuthenticationFactory.Builder<M,F,E> setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not benull
).- Parameters:
securityDomain
- the security domain (may not benull
)- Returns:
- this builder
-
setMechanismConfigurationSelector
MechanismAuthenticationFactory.Builder<M,F,E> setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set theMechanismConfigurationSelector
for the factory being built.- Parameters:
mechanismConfigurationSelector
- theMechanismConfigurationSelector
for the factory being built.- Returns:
- this builder
-
setFactory
MechanismAuthenticationFactory.Builder<M,F,E> setFactory(F factory)
Set the mechanism's underlying factory.- Parameters:
factory
- the factory (must not benull
)- Returns:
- this builder
-
build
MechanismAuthenticationFactory<M,F,E> build()
Build the mechanism factory.- Returns:
- the mechanism factory
-
-