Class ShardSearchRequestInterceptor

java.lang.Object
org.elasticsearch.xpack.security.authz.interceptor.ShardSearchRequestInterceptor
All Implemented Interfaces:
RequestInterceptor

public class ShardSearchRequestInterceptor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShardSearchRequestInterceptor(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.license.XPackLicenseState licenseState, org.elasticsearch.cluster.service.ClusterService clusterService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    intercept(org.elasticsearch.xpack.core.security.authz.AuthorizationEngine.RequestInfo requestInfo, org.elasticsearch.xpack.core.security.authz.AuthorizationEngine authorizationEngine, org.elasticsearch.xpack.core.security.authz.AuthorizationEngine.AuthorizationInfo authorizationInfo, org.elasticsearch.action.ActionListener<Void> listener)
    This interceptor will introspect the request and potentially modify it.
    boolean
    supports(org.elasticsearch.action.IndicesRequest request)
     

    Methods inherited from class java.lang.Object

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

    • ShardSearchRequestInterceptor

      public ShardSearchRequestInterceptor(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.license.XPackLicenseState licenseState, org.elasticsearch.cluster.service.ClusterService clusterService)
  • Method Details

    • supports

      public boolean supports(org.elasticsearch.action.IndicesRequest request)
    • intercept

      public void intercept(org.elasticsearch.xpack.core.security.authz.AuthorizationEngine.RequestInfo requestInfo, org.elasticsearch.xpack.core.security.authz.AuthorizationEngine authorizationEngine, org.elasticsearch.xpack.core.security.authz.AuthorizationEngine.AuthorizationInfo authorizationInfo, org.elasticsearch.action.ActionListener<Void> listener)
      Description copied from interface: RequestInterceptor
      This interceptor will introspect the request and potentially modify it. If the interceptor does not apply to the request then the request will not be modified.
      Specified by:
      intercept in interface RequestInterceptor