|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bankframe.ejb.ESessionBean
com.bankframe.services.sessionmgmt.SessionManagementBean
Defines the generic interface for BankFrame MCA session management.
| Constructor Summary | |
SessionManagementBean()
|
|
| Method Summary | |
abstract int |
getNumValidSessions()
Get the number of valid sessions |
BankFrameSession |
getSession(java.lang.String sessionId)
Get a BankFrameSession instance associate with the specified id. |
abstract java.util.Enumeration |
getSessions()
Get all current valid sessions |
boolean |
isValidSession(java.lang.String sessionId)
Verify if the specified id refers to a valid session. |
void |
logoff(java.lang.String sessionId)
Delete a BankFrame session |
java.lang.String |
logon(java.lang.String userId,
java.util.Vector authResponse)
Create a BankFrame session, by authenticating the user information in the data packet |
java.util.Vector |
processDataPacket(DataPacket data)
This method will process a Data Packet. |
abstract int |
removeAllSessions()
Remove all Sessions, effectively logging off all users on the system |
abstract int |
removeInvalidSessions()
Remove all Invalid Sessions |
| Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionManagementBean()
| Method Detail |
public abstract int getNumValidSessions()
throws javax.ejb.FinderException
javax.ejb.FinderException - on error
public BankFrameSession getSession(java.lang.String sessionId)
throws InvalidSessionException,
java.rmi.RemoteException
sessionId - Unique id of the session to retrieve
InvalidSessionException - if the session does not exist or has expired
java.rmi.RemoteException
public abstract java.util.Enumeration getSessions()
throws javax.ejb.FinderException
javax.ejb.FinderException - if an error is encountered retrieving session instances
public boolean isValidSession(java.lang.String sessionId)
throws InvalidSessionException,
java.rmi.RemoteException
sessionId - Id of the session to validate
InvalidSessionException
java.rmi.RemoteExceptionpublic void logoff(java.lang.String sessionId)
sessionId - Id of the session to delete
java.lang.Exception - if the session does not exist
public java.lang.String logon(java.lang.String userId,
java.util.Vector authResponse)
throws javax.ejb.CreateException,
java.rmi.RemoteException
authResponse - Response DataPackets from the authentication EJBuserId - UserId of the user to logon
javax.ejb.CreateException
java.rmi.RemoteException
public java.util.Vector processDataPacket(DataPacket data)
throws java.rmi.RemoteException,
ProcessingErrorException
processDataPacket in interface ESessionprocessDataPacket in class ESessionBeandata - The DataPacket to process
ProcessingErrorException
java.rmi.RemoteException
public abstract int removeAllSessions()
throws javax.ejb.FinderException
javax.ejb.FinderException - if an error occurs
public abstract int removeInvalidSessions()
throws javax.ejb.FinderException
javax.ejb.FinderException - if an error occurs while removing invalid sessions
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||