Package org.apache.nifi.cluster.firewall
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 TypeMethodDescriptionboolean
isPermissible
(String hostOrIp) Returns true if the given host or IP is permissible through the firewall; false otherwise.
-
Method Details
-
isPermissible
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
-