Package com.netscape.certsrv.base
Interface ISecurityDomainSessionTable
-
public interface ISecurityDomainSessionTable
This interface defines the abstraction for the cookie table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
addEntry(java.lang.String sessionID, java.lang.String ip, java.lang.String uid, java.lang.String group)
long
getBeginTime(java.lang.String sessionID)
java.lang.String
getGroup(java.lang.String sessionID)
java.lang.String
getIP(java.lang.String sessionID)
java.util.Enumeration<java.lang.String>
getSessionIDs()
int
getSize()
long
getTimeToLive()
java.lang.String
getUID(java.lang.String sessionID)
int
removeEntry(java.lang.String sessionID)
boolean
sessionExists(java.lang.String sessionID)
void
shutdown()
-
-
-
Field Detail
-
SUCCESS
static final int SUCCESS
- See Also:
- Constant Field Values
-
FAILURE
static final int FAILURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addEntry
int addEntry(java.lang.String sessionID, java.lang.String ip, java.lang.String uid, java.lang.String group) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeEntry
int removeEntry(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
sessionExists
boolean sessionExists(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getIP
java.lang.String getIP(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getUID
java.lang.String getUID(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getGroup
java.lang.String getGroup(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getBeginTime
long getBeginTime(java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSize
int getSize() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getTimeToLive
long getTimeToLive()
-
getSessionIDs
java.util.Enumeration<java.lang.String> getSessionIDs() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shutdown
void shutdown()
-
-