Interface ClusterNodeFirewall

All Known Implementing Classes:
FileBasedClusterNodeFirewall

public interface ClusterNodeFirewall
Defines the interface for restricting external client connections to a set of hosts or IPs.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the given host or IP is permissible through the firewall; false otherwise.
  • Method Details

    • isPermissible

      boolean isPermissible(String hostOrIp)
      Returns true if the given host or IP is permissible through the firewall; false otherwise. If an IP is given, then it must be formatted in dotted decimal notation.
      Parameters:
      hostOrIp - host
      Returns:
      true if permissible