Package com.netscape.cmscore.session
Class LDAPSecurityDomainSessionTable
java.lang.Object
com.netscape.cmscore.session.LDAPSecurityDomainSessionTable
- All Implemented Interfaces:
ISecurityDomainSessionTable
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 interface com.netscape.certsrv.base.ISecurityDomainSessionTable
FAILURE, SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
getBeginTime
(String sessionId) int
getSize()
long
int
removeEntry
(String sessionId) boolean
sessionExists
(String sessionId) void
shutdown()
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
LDAPSecurityDomainSessionTable
- Throws:
ELdapException
EBaseException
-
-
Method Details
-
addEntry
- Specified by:
addEntry
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
removeEntry
- Specified by:
removeEntry
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
sessionExists
- Specified by:
sessionExists
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getSessionIDs
- Specified by:
getSessionIDs
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getIP
- Specified by:
getIP
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getUID
- Specified by:
getUID
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getGroup
- Specified by:
getGroup
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getBeginTime
- Specified by:
getBeginTime
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
getTimeToLive
public long getTimeToLive()- Specified by:
getTimeToLive
in interfaceISecurityDomainSessionTable
-
getSize
- Specified by:
getSize
in interfaceISecurityDomainSessionTable
- Throws:
Exception
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfaceISecurityDomainSessionTable
-