|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
Method Summary | |
void |
initialize(java.util.Properties props)
Initializes this ConnectionFilter. |
boolean |
isAllowed(java.net.InetAddress ip)
Tests if a given ip address is allowed to connect. |
Method Detail |
public void initialize(java.util.Properties props)
props
- the properties of the listener that instantiated
this ConnectionFilter.public boolean isAllowed(java.net.InetAddress ip)
ip
- the address to be tested.
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |