Module org.elasticsearch.security
Class BulkShardRequestInterceptor
java.lang.Object
org.elasticsearch.xpack.security.authz.interceptor.BulkShardRequestInterceptor
- All Implemented Interfaces:
RequestInterceptor
Similar to
UpdateRequestInterceptor, but checks if there are update requests embedded in a bulk request.-
Constructor Summary
ConstructorsConstructorDescriptionBulkShardRequestInterceptor(ThreadPool threadPool, XPackLicenseState licenseState) -
Method Summary
Modifier and TypeMethodDescriptionintercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authzEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) This interceptor will introspect the request and potentially modify it.
-
Constructor Details
-
BulkShardRequestInterceptor
-
-
Method Details
-
intercept
public SubscribableListener<Void> intercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authzEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) 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
-