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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isAllowed​(java.lang.String host, int port)
      Indicates whether the connection defined by the parameters is allowed.
    • Method Detail

      • isAllowed

        boolean isAllowed​(java.lang.String host,
                          int port)
        Indicates whether the connection defined by the parameters is allowed.
        Parameters:
        host - the host to connect to/from
        port - the port to connect to/from
        Returns:
        true if the connection is allowed, false otherwise