Uses of Class
org.wildfly.security.http.HttpAuthenticator.Builder
Packages that use HttpAuthenticator.Builder
Package
Description
Package containing the HTTP based authentication APIs, SPIs and related classes.
-
Uses of HttpAuthenticator.Builder in org.wildfly.security.http
Methods in org.wildfly.security.http that return HttpAuthenticator.BuilderModifier and TypeMethodDescriptionstatic HttpAuthenticator.BuilderHttpAuthenticator.builder()Construct and return a newBuilderto configure and create an instance ofHttpAuthenticator.HttpAuthenticator.Builder.registerLogoutHandler(Consumer<Runnable> logoutHandlerConsumer) HttpAuthenticator.Builder.setHttpExchangeSpi(HttpExchangeSpi httpExchangeSpi) Set theHttpExchangeSpiinstance for the current request to allow integration with the Elytron APIs.HttpAuthenticator.Builder.setIdentityCacheSupplier(Supplier<IdentityCache> identityCacheSupplier) Set aSupplierwhich acts as a factory to return a newIdentityCacheinstance for the current request, this allows alternative caching strategies to be provided.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.setMechanismSupplier(Supplier<List<HttpServerAuthenticationMechanism>> mechanismSupplier) Set the supplier to use to obtain list ofHttpServerAuthenticationMechanismimplementations instances to use, based on the configured policy.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.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 authenticateHttpAuthenticator.Builder.setSecurityDomain(SecurityDomain securityDomain) Set theSecurityDomainto use for programmatic authentication.