| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Remote Interface common to all SessionManagement beans
| Field Summary | |
static java.lang.String | 
SESSION_ID
 | 
| Method Summary | |
 int | 
getNumValidSessions()
Get the number of valid sessions  | 
 BankFrameSession | 
getSession(java.lang.String sessionId)
Return a reference to the specified session  | 
 java.util.Enumeration | 
getSessions()
Get all current valid sessions  | 
 boolean | 
isValidSession(java.lang.String sessionId)
Checks if the specified session is valid.  | 
 void | 
logoff(java.lang.String sessionId)
Delete a BankFrame session  | 
 java.lang.String | 
logon(java.lang.String userId,
      java.util.Vector authResponse)
Create a session using the information provided in the DataPacket  | 
 int | 
removeAllSessions()
Remove all Sessions, effectively logging off all users on the system  | 
 int | 
removeInvalidSessions()
Remove all Invalid Sessions  | 
| Methods inherited from interface com.bankframe.ejb.ESessionRemote | 
processDataPacket, processDataPackets | 
| Methods inherited from interface javax.ejb.EJBObject | 
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove | 
| Field Detail | 
public static final java.lang.String SESSION_ID
| Method Detail | 
public int getNumValidSessions()
                        throws javax.ejb.FinderException,
                               java.rmi.RemoteException
javax.ejb.FinderException
java.rmi.RemoteException
public BankFrameSession getSession(java.lang.String sessionId)
                            throws InvalidSessionException,
                                   java.rmi.RemoteException
sessionId - Unique id of the session to be retrieved
InvalidSessionException
java.rmi.RemoteException
public java.util.Enumeration getSessions()
                                  throws javax.ejb.FinderException,
                                         java.rmi.RemoteException
javax.ejb.FinderException
java.rmi.RemoteException
public boolean isValidSession(java.lang.String sessionId)
                       throws InvalidSessionException,
                              java.rmi.RemoteException
sessionId - Unique id of the session to be checked
InvalidSessionException
java.rmi.RemoteException
public void logoff(java.lang.String sessionId)
            throws java.rmi.RemoteException
sessionId - Unique id of the session to be deleted
java.lang.Exception - if the session does not exist
java.rmi.RemoteException
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 EJB
java.lang.Exception - if the session cannot be created
javax.ejb.CreateException
java.rmi.RemoteException
public int removeAllSessions()
                      throws javax.ejb.FinderException,
                             java.rmi.RemoteException
javax.ejb.FinderException
java.rmi.RemoteException
public int removeInvalidSessions()
                          throws javax.ejb.FinderException,
                                 java.rmi.RemoteException
javax.ejb.FinderException
java.rmi.RemoteException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||