Module org.elasticsearch.security
Class TransportCreateApiKeyAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<CreateApiKeyRequest,CreateApiKeyResponse>
org.elasticsearch.xpack.security.action.apikey.TransportCreateApiKeyAction
public final class TransportCreateApiKeyAction
extends TransportAction<CreateApiKeyRequest,CreateApiKeyResponse>
Implementation of the action needed to create an API key
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportCreateApiKeyAction(TransportService transportService, ActionFilters actionFilters, ApiKeyService apiKeyService, SecurityContext context, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, CreateApiKeyRequest request, ActionListener<CreateApiKeyResponse> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportCreateApiKeyAction
@Inject public TransportCreateApiKeyAction(TransportService transportService, ActionFilters actionFilters, ApiKeyService apiKeyService, SecurityContext context, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, CreateApiKeyRequest request, ActionListener<CreateApiKeyResponse> listener) - Specified by:
doExecutein classTransportAction<CreateApiKeyRequest,CreateApiKeyResponse>
-