Interface InterClusterRequestEvaluator
-
- All Known Implementing Classes:
DefaultInterClusterRequestEvaluator,OIDClusterRequestEvaluator
public interface InterClusterRequestEvaluatorEvaluates a request to determine if it is intercluster communication. Implementations should include a single arg constructor that takes org.elasticsearch.common.settings.Settings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisInterClusterRequest(org.elasticsearch.transport.TransportRequest request, X509Certificate[] localCerts, X509Certificate[] peerCerts, String principal)Determine if request is a message from another node in the cluster
-
-
-
Method Detail
-
isInterClusterRequest
boolean isInterClusterRequest(org.elasticsearch.transport.TransportRequest request, X509Certificate[] localCerts, X509Certificate[] peerCerts, String principal)Determine if request is a message from another node in the cluster- Parameters:
request- The transport request to evaluatelocalCerts- Local certs to use for evaluating the request which include criteria specific to the implementation for confirming intercluster communicationpeerCerts- Certs to use for evaluating the request which include criteria specific to the implementation for confirming intercluster communicationprincipal- The principal evaluated by the configured principal extractor- Returns:
- True when determined to be intercluster, false otherwise
-
-