org.owasp.webscarab.plugin.sessionid
Class FileSystemStore
java.lang.Object
org.owasp.webscarab.plugin.sessionid.FileSystemStore
- All Implemented Interfaces:
- SessionIDStore
public class FileSystemStore
- extends java.lang.Object
- implements SessionIDStore
- Author:
- knoppix
|
Constructor Summary |
FileSystemStore(java.io.File dir)
Creates a new instance of FileSystemStore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemStore
public FileSystemStore(java.io.File dir)
throws StoreException
- Creates a new instance of FileSystemStore
- Throws:
StoreException
addSessionID
public int addSessionID(java.lang.String key,
SessionID id)
- Specified by:
addSessionID in interface SessionIDStore
clearSessionIDs
public void clearSessionIDs(java.lang.String key)
- Specified by:
clearSessionIDs in interface SessionIDStore
getSessionIDNameCount
public int getSessionIDNameCount()
- Specified by:
getSessionIDNameCount in interface SessionIDStore
getSessionIDName
public java.lang.String getSessionIDName(int index)
- Specified by:
getSessionIDName in interface SessionIDStore
getSessionIDCount
public int getSessionIDCount(java.lang.String key)
- Specified by:
getSessionIDCount in interface SessionIDStore
getSessionIDAt
public SessionID getSessionIDAt(java.lang.String key,
int index)
- Specified by:
getSessionIDAt in interface SessionIDStore
flush
public void flush()
throws StoreException
- Specified by:
flush in interface SessionIDStore
- Throws:
StoreException