Class HttpAuthenticationFactory.Builder
java.lang.Object
org.wildfly.security.auth.server.AbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
org.wildfly.security.auth.server.http.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
Modifier and TypeMethodDescriptionbuild()Build the mechanism factory.Set the mechanism's underlying factory.setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector) Set theMechanismConfigurationSelectorfor the factory being built.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 Details
-
setSecurityDomain
Description copied from interface:MechanismAuthenticationFactory.BuilderSet the security domain to be used for this factory (may not benull).- Specified by:
setSecurityDomainin interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException> - Overrides:
setSecurityDomainin 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.BuilderSet theMechanismConfigurationSelectorfor the factory being built.- Specified by:
setMechanismConfigurationSelectorin interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException> - Overrides:
setMechanismConfigurationSelectorin classAbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException> - Parameters:
mechanismConfigurationSelector- theMechanismConfigurationSelectorfor the factory being built.- Returns:
- this builder
-
setFactory
public HttpAuthenticationFactory.Builder setFactory(HttpServerAuthenticationMechanismFactory factory) Description copied from interface:MechanismAuthenticationFactory.BuilderSet the mechanism's underlying factory.- Specified by:
setFactoryin interfaceMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException> - Overrides:
setFactoryin classAbstractMechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory, HttpAuthenticationException> - Parameters:
factory- the factory (must not benull)- Returns:
- this builder
-
build
Description copied from interface:MechanismAuthenticationFactory.BuilderBuild the mechanism factory.- Returns:
- the mechanism factory
-