Module org.elasticsearch.security
Class TransportGetServiceAccountNodesCredentialsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetServiceAccountCredentialsNodesRequest,GetServiceAccountCredentialsNodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<GetServiceAccountCredentialsNodesRequest,GetServiceAccountCredentialsNodesResponse,GetServiceAccountCredentialsNodesRequest.Node,GetServiceAccountCredentialsNodesResponse.Node,Void>
org.elasticsearch.xpack.security.action.service.TransportGetServiceAccountNodesCredentialsAction
public class TransportGetServiceAccountNodesCredentialsAction
extends TransportNodesAction<GetServiceAccountCredentialsNodesRequest,GetServiceAccountCredentialsNodesResponse,GetServiceAccountCredentialsNodesRequest.Node,GetServiceAccountCredentialsNodesResponse.Node,Void>
This action handler is to retrieve service account credentials that are local to the node.
Currently this means file-backed service tokens.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, transportNodeAction, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetServiceAccountNodesCredentialsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, NodeLocalServiceAccountTokenStore readOnlyServiceAccountTokenStore) -
Method Summary
Modifier and TypeMethodDescriptionnewNodeResponse(StreamInput in, DiscoveryNode node) newResponse(GetServiceAccountCredentialsNodesRequest request, List<GetServiceAccountCredentialsNodesResponse.Node> nodes, List<FailedNodeException> failures) nodeOperation(GetServiceAccountCredentialsNodesRequest.Node request, Task task) Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
createActionContext, doExecute, newResponseAsync, nodeOperationAsync, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportGetServiceAccountNodesCredentialsAction
@Inject public TransportGetServiceAccountNodesCredentialsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, NodeLocalServiceAccountTokenStore readOnlyServiceAccountTokenStore)
-
-
Method Details
-
newResponse
protected GetServiceAccountCredentialsNodesResponse newResponse(GetServiceAccountCredentialsNodesRequest request, List<GetServiceAccountCredentialsNodesResponse.Node> nodes, List<FailedNodeException> failures) -
newNodeRequest
protected GetServiceAccountCredentialsNodesRequest.Node newNodeRequest(GetServiceAccountCredentialsNodesRequest request) -
newNodeResponse
protected GetServiceAccountCredentialsNodesResponse.Node newNodeResponse(StreamInput in, DiscoveryNode node) throws IOException -
nodeOperation
protected GetServiceAccountCredentialsNodesResponse.Node nodeOperation(GetServiceAccountCredentialsNodesRequest.Node request, Task task)
-