Class ResizeRequestInterceptor
java.lang.Object
org.elasticsearch.xpack.security.authz.interceptor.ResizeRequestInterceptor
- All Implemented Interfaces:
RequestInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionResizeRequestInterceptor(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.license.XPackLicenseState licenseState, AuditTrailService auditTrailService) -
Method Summary
Modifier and TypeMethodDescriptionvoidintercept(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.
-
Constructor Details
-
ResizeRequestInterceptor
public ResizeRequestInterceptor(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.license.XPackLicenseState licenseState, AuditTrailService auditTrailService)
-
-
Method Details
-
intercept
public 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) 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
-