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

    Fields
    Modifier and Type
    Field
    Description
    protected final AuthenticationService
     
    protected final org.elasticsearch.common.util.concurrent.ThreadContext
     

    Fields inherited from class org.elasticsearch.action.support.TransportAction

    actionName, logger, taskManager
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    protected void
    executeWithGrantAuthentication(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • authenticationService

      protected final AuthenticationService 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)