Interface RequestInterceptor

All Known Implementing Classes:
BulkShardRequestInterceptor, DlsFlsLicenseRequestInterceptor, IndicesAliasesRequestInterceptor, ResizeRequestInterceptor, SearchRequestInterceptor, ShardSearchRequestInterceptor, UpdateRequestInterceptor

public interface RequestInterceptor
A request interceptor can introspect a request and modify it.
  • 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.
  • Method Details

    • intercept

      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. If the interceptor does not apply to the request then the request will not be modified.