Class DefaultInterClusterRequestEvaluator
- java.lang.Object
-
- com.floragunn.searchguard.transport.DefaultInterClusterRequestEvaluator
-
- All Implemented Interfaces:
InterClusterRequestEvaluator
public final class DefaultInterClusterRequestEvaluator extends Object implements InterClusterRequestEvaluator
-
-
Constructor Summary
Constructors Constructor Description DefaultInterClusterRequestEvaluator(org.elasticsearch.common.settings.Settings settings)
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean isInterClusterRequest(org.elasticsearch.transport.TransportRequest request, X509Certificate[] localCerts, X509Certificate[] peerCerts, String principal)Description copied from interface:InterClusterRequestEvaluatorDetermine if request is a message from another node in the cluster- Specified by:
isInterClusterRequestin interfaceInterClusterRequestEvaluator- 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
-
-