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