|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPAccessFilter
This interface holds the method needed to do socket based access filtering.
| Method Summary | |
|---|---|
boolean |
doIPFiltering(java.nio.channels.SocketChannel s)
Filter based on a socket. |
java.util.List<IPAccess> |
getAllowList()
Get the list of allowed ips |
java.util.List<IPAccess> |
getDenyList()
Get the list of denied ips |
void |
loadAccess(java.io.Reader r)
Loads in the accessess allowed from the given Reader |
void |
setup(SProperties properties)
Setup this filter. |
| Method Detail |
|---|
boolean doIPFiltering(java.nio.channels.SocketChannel s)
s - the Socket to check.
void setup(SProperties properties)
properties - the SProperties to get the settings from.java.util.List<IPAccess> getAllowList()
java.util.List<IPAccess> getDenyList()
void loadAccess(java.io.Reader r)
throws java.io.IOException
r - the Reader were data is available
java.io.IOException - if loading fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||