Package com.netscape.certsrv.base
Interface ISecurityDomainSessionTable
-
- All Known Implementing Classes:
LDAPSecurityDomainSessionTable,SecurityDomainSessionTable
public interface ISecurityDomainSessionTableThis interface defines the abstraction for the cookie table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intaddEntry(java.lang.String sessionID, java.lang.String ip, java.lang.String uid, java.lang.String group)longgetBeginTime(java.lang.String sessionID)java.lang.StringgetGroup(java.lang.String sessionID)java.lang.StringgetIP(java.lang.String sessionID)java.util.Enumeration<java.lang.String>getSessionIDs()intgetSize()longgetTimeToLive()java.lang.StringgetUID(java.lang.String sessionID)intremoveEntry(java.lang.String sessionID)booleansessionExists(java.lang.String sessionID)voidshutdown()
-
-
-
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()
-
-