org.altlinux.jabbix
Interface ConnectionPredicate
- All Known Implementing Classes:
- WhitelistPredicate
public interface ConnectionPredicate
A predicate for the JabbixSecurityManager
service determining the
permission to connect to or from the particular host and port.
- Author:
- Paul Wolneykien
Method Summary |
boolean |
isAllowed(String host,
int port)
Indicates whether the connection defined by the parameters is allowed. |
isAllowed
boolean isAllowed(String host,
int port)
- Indicates whether the connection defined by the parameters is allowed.
- Parameters:
host
- the host to connect to/fromport
- the port to connect to/from
- Returns:
- true if the connection is allowed, false otherwise