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 TypeMethodDescriptionvoidintercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo, ActionListener<Void> listener) This interceptor will introspect the request and potentially modify it.
-
Method Details
-
intercept
void intercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo, 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.
-