Package | Description |
---|---|
org.wildfly.security.http |
Package containing the HTTP based authentication APIs, SPIs and related classes.
|
Modifier and Type | Method and Description |
---|---|
static HttpAuthenticator.Builder |
HttpAuthenticator.builder()
Construct and return a new
Builder to configure and create an instance of HttpAuthenticator . |
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.registerLogoutHandler(Consumer<Runnable> logoutHandlerConsumer)
|
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setHttpExchangeSpi(HttpExchangeSpi httpExchangeSpi)
Set the
HttpExchangeSpi instance for the current request to allow integration with the Elytron APIs. |
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setIgnoreOptionalFailures(boolean ignoreOptionalFailures)
Where authentication is not required but is still attempted a failure of an authentication mechanism will cause the
challenges to be sent and the current request returned to the client, setting this value to true will allow the
failure to be ignored.
|
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setMechanismSupplier(Supplier<List<HttpServerAuthenticationMechanism>> mechanismSupplier)
Set the supplier to use to obtain list of
HttpServerAuthenticationMechanism implementations
instances to use, based on the configured policy. |
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setProgrammaticMechanismName(String programmaticMechanismName)
Set the mechanism name that should be used for programmatic authentication if one is not provided at the time of the call.
|
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setRequired(boolean required)
Sets if authentication is required for the current request, if not required mechanisms will be called to be given the
opportunity to authenticate
|
HttpAuthenticator.Builder |
HttpAuthenticator.Builder.setSecurityDomain(SecurityDomain securityDomain)
Set the
SecurityDomain to use for programmatic authentication. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.