Package com.floragunn.searchguard.auth
Class RestAuthenticationProcessor
- java.lang.Object
-
- com.floragunn.searchguard.auth.RestAuthenticationProcessor
-
public class RestAuthenticationProcessor extends Object
-
-
Constructor Summary
Constructors Constructor Description RestAuthenticationProcessor(org.elasticsearch.rest.RestHandler restHandler, org.elasticsearch.rest.RestRequest restRequest, org.elasticsearch.rest.RestChannel restChannel, inet.ipaddr.IPAddress remoteIpAddress, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Collection<AuthenticationDomain> authenticationDomains, Set<AuthorizationDomain> authorizationDomains, AdminDNs adminDns, com.google.common.cache.Cache<AuthCredentials,User> userCache, com.google.common.cache.Cache<User,Set<String>> roleCache, com.google.common.cache.Cache<String,User> impersonationCache, AuditLog auditLog, com.google.common.collect.Multimap<String,AuthFailureListener> authBackendFailureListeners, com.google.common.collect.Multimap<String,ClientBlockRegistry<String>> authBackendClientBlockRegistries, List<AuthFailureListener> ipAuthFailureListeners, boolean anonymousAuthEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate(Consumer<AuthczResult> onResult, Consumer<Exception> onFailure)
-
-
-
Constructor Detail
-
RestAuthenticationProcessor
public RestAuthenticationProcessor(org.elasticsearch.rest.RestHandler restHandler, org.elasticsearch.rest.RestRequest restRequest, org.elasticsearch.rest.RestChannel restChannel, inet.ipaddr.IPAddress remoteIpAddress, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Collection<AuthenticationDomain> authenticationDomains, Set<AuthorizationDomain> authorizationDomains, AdminDNs adminDns, com.google.common.cache.Cache<AuthCredentials,User> userCache, com.google.common.cache.Cache<User,Set<String>> roleCache, com.google.common.cache.Cache<String,User> impersonationCache, AuditLog auditLog, com.google.common.collect.Multimap<String,AuthFailureListener> authBackendFailureListeners, com.google.common.collect.Multimap<String,ClientBlockRegistry<String>> authBackendClientBlockRegistries, List<AuthFailureListener> ipAuthFailureListeners, boolean anonymousAuthEnabled)
-
-
Method Detail
-
authenticate
public void authenticate(Consumer<AuthczResult> onResult, Consumer<Exception> onFailure)
-
-