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.
-
-
Constructor Summary
Constructors Constructor Description Builder()Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpAuthenticationFactorybuild()Build the mechanism factory.HttpAuthenticationFactory.BuildersetFactory(HttpServerAuthenticationMechanismFactory factory)Set the mechanism's underlying factory.HttpAuthenticationFactory.BuildersetMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)Set theMechanismConfigurationSelectorfor the factory being built.HttpAuthenticationFactory.BuildersetSecurityDomain(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.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
public HttpAuthenticationFactory build()
Description copied from interface:MechanismAuthenticationFactory.BuilderBuild the mechanism factory.- Returns:
- the mechanism factory
-
-