Class TransportSearchAuthTokensAction
- java.lang.Object
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- com.floragunn.searchguard.authtoken.api.TransportSearchAuthTokensAction
-
public class TransportSearchAuthTokensAction extends org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
-
Constructor Summary
Constructors Constructor Description TransportSearchAuthTokensAction(AuthTokenService authTokenService, com.floragunn.searchguard.auth.AuthInfoService authInfoService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.client.Client client, com.floragunn.searchguard.privileges.PrivilegesEvaluator privilegesEvaluator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute(org.elasticsearch.tasks.Task task, SearchAuthTokensRequest request, org.elasticsearch.action.ActionListener<SearchAuthTokensResponse> listener)protected static StringgetAllActionName(String actionName)protected booleanisAllowedToAccessAll(com.floragunn.searchguard.user.User user)
-
-
-
Constructor Detail
-
TransportSearchAuthTokensAction
@Inject public TransportSearchAuthTokensAction(AuthTokenService authTokenService, com.floragunn.searchguard.auth.AuthInfoService authInfoService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.client.Client client, com.floragunn.searchguard.privileges.PrivilegesEvaluator privilegesEvaluator)
-
-
Method Detail
-
doExecute
protected final void doExecute(org.elasticsearch.tasks.Task task, SearchAuthTokensRequest request, org.elasticsearch.action.ActionListener<SearchAuthTokensResponse> listener)- Specified by:
doExecutein classorg.elasticsearch.action.support.TransportAction<SearchAuthTokensRequest,SearchAuthTokensResponse>
-
isAllowedToAccessAll
protected boolean isAllowedToAccessAll(com.floragunn.searchguard.user.User user)
-
-