com.bankframe.services.sessionmgmt.ldap
Class LDAPSessionManagementBean
java.lang.Object
com.bankframe.ejb.ESessionBean
com.bankframe.services.sessionmgmt.SessionManagementBean
com.bankframe.services.sessionmgmt.ldap.LDAPSessionManagementBean
- All Implemented Interfaces:
- ESession, Serializable, EnterpriseBean, SessionBean
public class LDAPSessionManagementBean
- extends SessionManagementBean
LDAP based implementation of Session Management mechanism.
- See Also:
- Serialized Form
Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext |
ENTITY_JNDI_NAME
public static final String ENTITY_JNDI_NAME
- See Also:
- Constant Field Values
LDAPSessionManagementBean
public LDAPSessionManagementBean()
getNumValidSessions
public int getNumValidSessions()
throws FinderException
- Get the number of valid sessions
- Specified by:
getNumValidSessions
in class SessionManagementBean
- Returns:
- Number of valid sessions currently logged on
- Throws:
Exception
- on error
FinderException
- on error
getSessions
public Enumeration getSessions()
throws FinderException
- Get all current valid sessions
- Specified by:
getSessions
in class SessionManagementBean
- Returns:
- Enumeration containing all valid session instances
- Throws:
Exception
- if an error is encountered retrieving session instances
FinderException
- if an error is encountered retrieving session instances
removeAllSessions
public int removeAllSessions()
throws FinderException
- Remove all Sessions, effectively logging off all users on the system
- Specified by:
removeAllSessions
in class SessionManagementBean
- Returns:
- Number of sessions removed
- Throws:
Exception
- if an error occurs
FinderException
- if an error occurs
removeInvalidSessions
public int removeInvalidSessions()
throws FinderException
- Remove all Invalid Sessions
- Specified by:
removeInvalidSessions
in class SessionManagementBean
- Returns:
- Number of sessions removed
- Throws:
Exception
- if an error occurs while removing invalid sessions
FinderException
- if an error occurs while removing invalid sessions
Copyright © 2005, 2007, Oracle. All rights reserved.