Interface ConnectionFilter


public interface ConnectionFilter
Interface defining a generic IP level connection filter.
Due to the fact that this task depends heavily on application context, I chose a very generic way of applying IP level connection filtering.

Implementations should consider following issues:
  • performance
  • administration (maybe via an admin shell)
  • logging denials
Version:
2.0 (16/07/2006)
Author:
Dieter Wimberger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tests if a given ip address is allowed to connect.
  • Method Details

    • isAllowed

      boolean isAllowed(InetAddress ip)
      Tests if a given ip address is allowed to connect.
      Parameters:
      ip - the address to be tested.
      Returns:
      true if allowed to connect, false otherwise.