Interface RemoteClusterAuthenticationService

All Known Implementing Classes:
CrossClusterAccessAuthenticationService

public interface RemoteClusterAuthenticationService
Service interface for authenticating remote cluster requests.

This service handles authentication for cross-cluster requests. It provides methods to authenticate both full transport requests and credential headers only.

  • Method Details

    • authenticate

      void authenticate(String action, TransportRequest request, ActionListener<Authentication> listener)
      Called to authenticates a remote cluster transport request.
      Parameters:
      action - the transport action being performed
      request - the transport request containing authentication headers
      listener - callback to receive the authenticated Authentication object on success, or an exception on failure
    • authenticateHeaders

      void authenticateHeaders(Map<String,String> headers, ActionListener<Void> listener)
      Called early (after transport headers were received) to authenticate a remote cluster transport request.
      Parameters:
      headers - map of request headers containing authentication credentials
      listener - callback to receive null on successful authentication, or an exception on authentication failure