Module org.elasticsearch.xcore
Class CustomApiKeyAuthenticator.Noop
java.lang.Object
org.elasticsearch.xpack.core.security.authc.apikey.CustomApiKeyAuthenticator.Noop
- All Implemented Interfaces:
CustomApiKeyAuthenticator
- Enclosing interface:
CustomApiKeyAuthenticator
public static class CustomApiKeyAuthenticator.Noop
extends Object
implements CustomApiKeyAuthenticator
A no-op implementation of
CustomApiKeyAuthenticator that is effectively skipped in the authenticator chain.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.core.security.authc.apikey.CustomApiKeyAuthenticator
CustomApiKeyAuthenticator.Noop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(AuthenticationToken authenticationToken, ActionListener<AuthenticationResult<Authentication>> listener) extractCredentials(SecureString apiKeyCredentials) name()
-
Constructor Details
-
Noop
public Noop()
-
-
Method Details
-
name
- Specified by:
namein interfaceCustomApiKeyAuthenticator
-
extractCredentials
- Specified by:
extractCredentialsin interfaceCustomApiKeyAuthenticator
-
authenticate
public void authenticate(@Nullable AuthenticationToken authenticationToken, ActionListener<AuthenticationResult<Authentication>> listener) - Specified by:
authenticatein interfaceCustomApiKeyAuthenticator
-