|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrabbit.filter.AccessFilter
This is a class that filters access based on ip adress.
| Method Summary | |
static boolean |
doIPFiltering(java.net.Socket s)
Filter based on a socket. |
static java.util.Vector |
getIPList()
Get the list of ips allowed |
static void |
loadAccess(java.io.Reader r)
Loads in the accessess allowed from the given Reader |
static void |
saveAccess(java.io.Reader r)
Saves the accesslist from the given Reader. |
static void |
setup(java.util.Properties properties)
Setup this class. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean doIPFiltering(java.net.Socket s)
s - the Socket to check.
public static void setup(java.util.Properties properties)
properties - the Properties to get the settings from.
public static void loadAccess(java.io.Reader r)
throws java.io.IOException
r - the Reader were data is available
java.io.IOException
public static void saveAccess(java.io.Reader r)
throws java.io.IOException
r - the Reader with the users.
java.io.IOExceptionpublic static java.util.Vector getIPList()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||