Class TransportGrantAction<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.xpack.security.action.TransportGrantAction<Request,Response>
- Direct Known Subclasses:
TransportActivateProfileAction,TransportGrantApiKeyAction
public abstract class TransportGrantAction<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
extends org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthenticationServiceprotected final org.elasticsearch.common.util.concurrent.ThreadContextFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGrantAction(String actionName, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.common.io.stream.Writeable.Reader<Request> requestReader, AuthenticationService authenticationService, org.elasticsearch.common.util.concurrent.ThreadContext threadContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteWithGrantAuthentication(org.elasticsearch.xpack.core.security.action.GrantRequest grantRequest, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.authc.Authentication> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
doExecute, execute
-
Field Details
-
authenticationService
-
threadContext
protected final org.elasticsearch.common.util.concurrent.ThreadContext threadContext
-
-
Constructor Details
-
TransportGrantAction
public TransportGrantAction(String actionName, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.common.io.stream.Writeable.Reader<Request> requestReader, AuthenticationService authenticationService, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
-
-
Method Details
-
executeWithGrantAuthentication
protected void executeWithGrantAuthentication(org.elasticsearch.xpack.core.security.action.GrantRequest grantRequest, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.authc.Authentication> listener)
-