Class TransportReloadRemoteClusterCredentialsAction

java.lang.Object
org.elasticsearch.action.support.TransportAction<TransportReloadRemoteClusterCredentialsAction.Request,ActionResponse.Empty>
org.elasticsearch.xpack.security.action.settings.TransportReloadRemoteClusterCredentialsAction

public class TransportReloadRemoteClusterCredentialsAction extends TransportAction<TransportReloadRemoteClusterCredentialsAction.Request,ActionResponse.Empty>
This is a local-only action which updates remote cluster credentials for remote cluster connections, from keystore settings reloaded via a call to RestReloadSecureSettingsAction.

It's invoked as part of the Security.reload(Settings) call.

This action is largely an implementation detail to work around the fact that Security is a plugin without direct access to many core classes, including the RemoteClusterService which is required for a credentials reload. A transport action gives us access to the RemoteClusterService which is injectable but not part of the plugin contract.