| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionManagement
Remote Interface common to all SessionManagement beans
| Field Summary | |
|---|---|
| static String | SESSION_ID | 
| Method Summary | |
|---|---|
|  int | getNumValidSessions()Get the number of valid sessions | 
|  BankFrameSession | getSession(String sessionId)Return a reference to the specified session | 
|  Enumeration | getSessions()Get all current valid sessions | 
|  boolean | isValidSession(String sessionId)Checks if the specified session is valid. | 
|  void | logoff(String sessionId)Delete a BankFrame session | 
|  String | logon(String userId,
      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 | 
|---|
static final String SESSION_ID
| Method Detail | 
|---|
int getNumValidSessions()
                        throws FinderException,
                               RemoteException
FinderException
RemoteException
BankFrameSession getSession(String sessionId)
                            throws InvalidSessionException,
                                   RemoteException
sessionId - Unique id of the session to be retrieved
InvalidSessionException
RemoteException
Enumeration getSessions()
                        throws FinderException,
                               RemoteException
FinderException
RemoteException
boolean isValidSession(String sessionId)
                       throws InvalidSessionException,
                              RemoteException
sessionId - Unique id of the session to be checked
InvalidSessionException
RemoteException
void logoff(String sessionId)
            throws RemoteException
sessionId - Unique id of the session to be deleted
Exception - if the session does not exist
RemoteException
String logon(String userId,
             Vector authResponse)
             throws CreateException,
                    RemoteException
userId - containing the information necessary to authenticate and create the sessionauthResponse - Response DataPackets from the authentication EJB
Exception - if the session cannot be created
CreateException
RemoteException
int removeAllSessions()
                      throws FinderException,
                             RemoteException
FinderException
RemoteException
int removeInvalidSessions()
                          throws FinderException,
                                 RemoteException
FinderException
RemoteException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||