Module org.elasticsearch.security
Interface RequestInterceptor
- All Known Implementing Classes:
BulkShardRequestInterceptor,DlsFlsLicenseRequestInterceptor,IndicesAliasesRequestInterceptor,ResizeRequestInterceptor,SearchRequestCacheDisablingInterceptor,SearchRequestInterceptor,ShardSearchRequestInterceptor,UpdateRequestInterceptor,ValidateRequestInterceptor
public interface RequestInterceptor
A request interceptor can introspect a request and modify it.
-
Method Summary
Modifier and TypeMethodDescriptionintercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) This interceptor will introspect the request and potentially modify it.
-
Method Details
-
intercept
SubscribableListener<Void> intercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) 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.
-