|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ejb.ESessionBean com.bankframe.services.authentication.AuthenticationBean
This class is the base class for all authentication session beans. Authentication
beans are used to authenticate users with BankFrame MCA. Authentication beans must
implement the processLogon() and processLogoff()
methods. The
processLogon()
method must throw an AuthenticationException if
authentication fails. If authentication is successful then it must return a
vector of DataPackets to be returned to the client. The first DataPacket in
the returned vector must contain an AuthenticationUtils.USER_ID
field.
The value of this field must be the unique user id of the authenticated user.
Constructor Summary | |
AuthenticationBean()
This constructor calls the super class constructor. |
Method Summary | |
java.util.Vector |
processDataPacket(DataPacket data)
This method checks if the incoming request is a logon or logoff request and passes the request on to processLogon() or
processLogoff() , as appropriate. |
abstract java.util.Vector |
processLogoff(DataPacket data)
This method is called whenever a user attempts to logoff. |
abstract java.util.Vector |
processLogon(DataPacket data)
This method is responsible for retrieving the authentication information from the DataPacket passed in and verifying that the information is correct. |
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 AuthenticationBean()
Method Detail |
public java.util.Vector processDataPacket(DataPacket data) throws java.rmi.RemoteException, ProcessingErrorException
processLogon()
or
processLogoff()
, as appropriate.
processDataPacket
in interface ESession
processDataPacket
in class ESessionBean
data
- the incomin request
ProcessingErrorException
- if the request cannot be processed
RemoteException
- if a remote communication error occurspublic abstract java.util.Vector processLogoff(DataPacket data) throws ProcessingErrorException
data
- the logoff request to process
ProcessingErrorException
- if the logoff request cannot be processedpublic abstract java.util.Vector processLogon(DataPacket data) throws AuthenticationException
data
- the logon request to process
AuthenticationException
- if the logon request cannot be authenticated
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |