Package com.netscape.cmscore.session
Class LDAPSecurityDomainSessionTable
java.lang.Object
com.netscape.certsrv.base.SecurityDomainSessionTable
com.netscape.cmscore.session.LDAPSecurityDomainSessionTable
This object stores the values for IP, uid and group based on the cookie id in LDAP.
Entries are stored under ou=Security Domain, ou=sessions, $basedn
-
Field Summary
FieldsFields inherited from class com.netscape.certsrv.base.SecurityDomainSessionTable
FAILURE, SUCCESS, timeToLive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
getBeginTime
(String sessionId) int
getSize()
void
init()
void
removeEntry
(String sessionId) boolean
sessionExists
(String sessionId) void
setCMSEngine
(CMSEngine engine) void
shutdown()
Methods inherited from class com.netscape.certsrv.base.SecurityDomainSessionTable
getTimeToLive
-
Field Details
-
logger
public static org.slf4j.Logger logger -
engine
-
-
Constructor Details
-
LDAPSecurityDomainSessionTable
public LDAPSecurityDomainSessionTable(long timeToLive)
-
-
Method Details
-
getCMSEngine
-
setCMSEngine
-
init
- Throws:
ELdapException
EBaseException
-
addEntry
- Specified by:
addEntry
in classSecurityDomainSessionTable
- Throws:
Exception
-
removeEntry
- Specified by:
removeEntry
in classSecurityDomainSessionTable
- Throws:
Exception
-
sessionExists
- Specified by:
sessionExists
in classSecurityDomainSessionTable
- Throws:
Exception
-
getSessionIDs
- Specified by:
getSessionIDs
in classSecurityDomainSessionTable
- Throws:
Exception
-
getIP
- Specified by:
getIP
in classSecurityDomainSessionTable
- Throws:
Exception
-
getUID
- Specified by:
getUID
in classSecurityDomainSessionTable
- Throws:
Exception
-
getGroup
- Specified by:
getGroup
in classSecurityDomainSessionTable
- Throws:
Exception
-
getBeginTime
- Specified by:
getBeginTime
in classSecurityDomainSessionTable
- Throws:
Exception
-
getSize
- Specified by:
getSize
in classSecurityDomainSessionTable
- Throws:
Exception
-
shutdown
public void shutdown()- Specified by:
shutdown
in classSecurityDomainSessionTable
-