Class TransportCreateApiKeyAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest,org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse>
org.elasticsearch.xpack.security.action.apikey.TransportCreateApiKeyAction
public final class TransportCreateApiKeyAction
extends org.elasticsearch.action.support.HandledTransportAction<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest,org.elasticsearch.xpack.core.security.action.apikey.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(org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, ApiKeyService apiKeyService, org.elasticsearch.xpack.core.security.SecurityContext context, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(org.elasticsearch.tasks.Task task, org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest request, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportCreateApiKeyAction
@Inject public TransportCreateApiKeyAction(org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, ApiKeyService apiKeyService, org.elasticsearch.xpack.core.security.SecurityContext context, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry)
-
-
Method Details
-
doExecute
protected void doExecute(org.elasticsearch.tasks.Task task, org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest request, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse> listener) - Specified by:
doExecutein classorg.elasticsearch.action.support.TransportAction<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest,org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse>
-