Class TransportGetServiceAccountNodesCredentialsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node>
org.elasticsearch.xpack.security.action.service.TransportGetServiceAccountNodesCredentialsAction
public class TransportGetServiceAccountNodesCredentialsAction
extends org.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node>
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, nodeResponseClass, threadPool, transportNodeAction, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetServiceAccountNodesCredentialsAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, FileServiceAccountTokenStore fileServiceAccountTokenStore) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.NodenewNodeRequest(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest request) protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.NodenewNodeResponse(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.cluster.node.DiscoveryNode node) protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponsenewResponse(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest request, List<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.NodenodeOperation(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node request, org.elasticsearch.tasks.Task task) Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportGetServiceAccountNodesCredentialsAction
@Inject public TransportGetServiceAccountNodesCredentialsAction(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.action.support.ActionFilters actionFilters, FileServiceAccountTokenStore fileServiceAccountTokenStore)
-
-
Method Details
-
newResponse
protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse newResponse(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest request, List<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node> nodes, List<org.elasticsearch.action.FailedNodeException> failures) - Specified by:
newResponsein classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node>
-
newNodeRequest
protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node newNodeRequest(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest request) - Specified by:
newNodeRequestin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node>
-
newNodeResponse
protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node newNodeResponse(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.cluster.node.DiscoveryNode node) throws IOException - Specified by:
newNodeResponsein classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node> - Throws:
IOException
-
nodeOperation
protected org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node nodeOperation(org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node request, org.elasticsearch.tasks.Task task) - Specified by:
nodeOperationin classorg.elasticsearch.action.support.nodes.TransportNodesAction<org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest,org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesRequest.Node, org.elasticsearch.xpack.core.security.action.service.GetServiceAccountCredentialsNodesResponse.Node>
-