Module org.elasticsearch.security
Class TransportHasPrivilegesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<HasPrivilegesRequest,HasPrivilegesResponse>
org.elasticsearch.action.support.HandledTransportAction<HasPrivilegesRequest,HasPrivilegesResponse>
org.elasticsearch.xpack.security.action.user.TransportHasPrivilegesAction
public class TransportHasPrivilegesAction
extends HandledTransportAction<HasPrivilegesRequest,HasPrivilegesResponse>
Transport action that tests whether the currently authenticated user has the specified
privileges-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportHasPrivilegesAction(TransportService transportService, ActionFilters actionFilters, AuthorizationService authorizationService, NativePrivilegeStore privilegeStore, SecurityContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, HasPrivilegesRequest request, ActionListener<HasPrivilegesResponse> listener) getApplicationNames(HasPrivilegesRequest request) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportHasPrivilegesAction
@Inject public TransportHasPrivilegesAction(TransportService transportService, ActionFilters actionFilters, AuthorizationService authorizationService, NativePrivilegeStore privilegeStore, SecurityContext context)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, HasPrivilegesRequest request, ActionListener<HasPrivilegesResponse> listener) - Specified by:
doExecutein classTransportAction<HasPrivilegesRequest,HasPrivilegesResponse>
-
getApplicationNames
-