Class SecurityActionFilter
java.lang.Object
org.elasticsearch.xpack.security.action.filter.SecurityActionFilter
- All Implemented Interfaces:
org.elasticsearch.action.support.ActionFilter
public class SecurityActionFilter
extends Object
implements org.elasticsearch.action.support.ActionFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.support.ActionFilter
org.elasticsearch.action.support.ActionFilter.Simple -
Constructor Summary
ConstructorsConstructorDescriptionSecurityActionFilter(AuthenticationService authcService, AuthorizationService authzService, AuditTrailService auditTrailService, org.elasticsearch.license.XPackLicenseState licenseState, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.xpack.core.security.SecurityContext securityContext, org.elasticsearch.action.support.DestructiveOperations destructiveOperations) -
Method Summary
Modifier and TypeMethodDescription<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
voidapply(org.elasticsearch.tasks.Task task, String action, Request request, org.elasticsearch.action.ActionListener<Response> listener, org.elasticsearch.action.support.ActionFilterChain<Request, Response> chain) intorder()
-
Constructor Details
-
SecurityActionFilter
public SecurityActionFilter(AuthenticationService authcService, AuthorizationService authzService, AuditTrailService auditTrailService, org.elasticsearch.license.XPackLicenseState licenseState, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.xpack.core.security.SecurityContext securityContext, org.elasticsearch.action.support.DestructiveOperations destructiveOperations)
-
-
Method Details
-
apply
public <Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse> void apply(org.elasticsearch.tasks.Task task, String action, Request request, org.elasticsearch.action.ActionListener<Response> listener, org.elasticsearch.action.support.ActionFilterChain<Request, Response> chain) - Specified by:
applyin interfaceorg.elasticsearch.action.support.ActionFilter
-
order
public int order()- Specified by:
orderin interfaceorg.elasticsearch.action.support.ActionFilter
-