Class OIDClusterRequestEvaluator

    • Constructor Detail

      • OIDClusterRequestEvaluator

        public OIDClusterRequestEvaluator​(org.elasticsearch.common.settings.Settings settings)
    • Method Detail

      • isInterClusterRequest

        public boolean isInterClusterRequest​(org.elasticsearch.transport.TransportRequest request,
                                             X509Certificate[] localCerts,
                                             X509Certificate[] peerCerts,
                                             String principal)
        Description copied from interface: InterClusterRequestEvaluator
        Determine if request is a message from another node in the cluster
        Specified by:
        isInterClusterRequest in interface InterClusterRequestEvaluator
        Parameters:
        request - The transport request to evaluate
        localCerts - Local certs to use for evaluating the request which include criteria specific to the implementation for confirming intercluster communication
        peerCerts - Certs to use for evaluating the request which include criteria specific to the implementation for confirming intercluster communication
        principal - The principal evaluated by the configured principal extractor
        Returns:
        True when determined to be intercluster, false otherwise