Package org.wildfly.security.auth.server
Class HttpAuthenticationFactory.Builder
- java.lang.Object
-
- org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
-
- org.wildfly.security.auth.server.HttpAuthenticationFactory.Builder
-
- All Implemented Interfaces:
MechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Enclosing class:
- HttpAuthenticationFactory
public static final class HttpAuthenticationFactory.Builder extends AbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
A builder for SASL server factory configurations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpAuthenticationFactory
build()
Build the mechanism factory.HttpAuthenticationFactory.Builder
setFactory(HttpServerAuthenticationMechanismFactory factory)
Set the mechanism's underlying factory.HttpAuthenticationFactory.Builder
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set theMechanismConfigurationSelector
for the factory being built.HttpAuthenticationFactory.Builder
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not benull
).-
Methods inherited from class org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder
getFactory, getMechanismConfigurationSelector, getSecurityDomain
-
-
-
-
Method Detail
-
setSecurityDomain
public HttpAuthenticationFactory.Builder setSecurityDomain(SecurityDomain securityDomain)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set the security domain to be used for this factory (may not benull
).- Specified by:
setSecurityDomain
in interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Overrides:
setSecurityDomain
in classAbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Parameters:
securityDomain
- the security domain (may not benull
)- Returns:
- this builder
-
setMechanismConfigurationSelector
public HttpAuthenticationFactory.Builder setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set theMechanismConfigurationSelector
for the factory being built.- Specified by:
setMechanismConfigurationSelector
in interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Overrides:
setMechanismConfigurationSelector
in classAbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Parameters:
mechanismConfigurationSelector
- theMechanismConfigurationSelector
for the factory being built.- Returns:
- this builder
-
setFactory
public HttpAuthenticationFactory.Builder setFactory(HttpServerAuthenticationMechanismFactory factory)
Description copied from interface:MechanismAuthenticationFactory.Builder
Set the mechanism's underlying factory.- Specified by:
setFactory
in interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Overrides:
setFactory
in classAbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
- Parameters:
factory
- the factory (must not benull
)- Returns:
- this builder
-
build
public HttpAuthenticationFactory build()
Description copied from interface:MechanismAuthenticationFactory.Builder
Build the mechanism factory.- Returns:
- the mechanism factory
-
-