Module org.elasticsearch.security
Class ShardSearchRequestInterceptor
java.lang.Object
org.elasticsearch.xpack.security.authz.interceptor.ShardSearchRequestInterceptor
- All Implemented Interfaces:
RequestInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionShardSearchRequestInterceptor(ThreadPool threadPool, XPackLicenseState licenseState) -
Method Summary
Modifier and TypeMethodDescriptionvoidintercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo, ActionListener<Void> listener) This interceptor will introspect the request and potentially modify it.booleansupports(IndicesRequest request)
-
Constructor Details
-
ShardSearchRequestInterceptor
-
-
Method Details
-
supports
-
intercept
public void intercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo, ActionListener<Void> listener) Description copied from interface:RequestInterceptorThis 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:
interceptin interfaceRequestInterceptor
-