public static final class HttpAuthenticationFactory.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpAuthenticationFactory |
build()
Build the mechanism factory.
|
HttpAuthenticationFactory.Builder |
setFactory(HttpServerAuthenticationMechanismFactory factory)
Set the mechanism's underlying factory.
|
HttpAuthenticationFactory.Builder |
setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
Set the
MechanismConfigurationSelector for the factory being built. |
HttpAuthenticationFactory.Builder |
setSecurityDomain(SecurityDomain securityDomain)
Set the security domain to be used for this factory (may not be
null ). |
public HttpAuthenticationFactory.Builder setSecurityDomain(SecurityDomain securityDomain)
MechanismAuthenticationFactory.Builder
null
).setSecurityDomain
in interface MechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
securityDomain
- the security domain (may not be null
)public HttpAuthenticationFactory.Builder setMechanismConfigurationSelector(MechanismConfigurationSelector mechanismConfigurationSelector)
MechanismAuthenticationFactory.Builder
MechanismConfigurationSelector
for the factory being built.setMechanismConfigurationSelector
in interface MechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
mechanismConfigurationSelector
- the MechanismConfigurationSelector
for the factory being built.public HttpAuthenticationFactory.Builder setFactory(HttpServerAuthenticationMechanismFactory factory)
MechanismAuthenticationFactory.Builder
setFactory
in interface MechanismAuthenticationFactory.Builder<HttpServerAuthenticationMechanism,HttpServerAuthenticationMechanismFactory,HttpAuthenticationException>
factory
- the factory (must not be null
)public HttpAuthenticationFactory build()
MechanismAuthenticationFactory.Builder
Copyright © 2020 JBoss by Red Hat. All rights reserved.