com.bankframe.services.authentication.ejb
Class EJBUserAuthenticationBean
java.lang.Object
com.bankframe.ejb.ESessionBean
com.bankframe.services.authentication.AuthenticationBean
com.bankframe.services.authentication.ejb.EJBUserAuthenticationBean
- All Implemented Interfaces:
- ESession, Serializable, EnterpriseBean, SessionBean
public class EJBUserAuthenticationBean
- extends AuthenticationBean
This class is used to validate users against passwords and to process
user logon and logoff requests.
- See Also:
- Serialized Form
Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext |
EJBUserAuthenticationBean
public EJBUserAuthenticationBean()
- Constructor.
processLogoff
public Vector processLogoff(DataPacket data)
throws ProcessingErrorException
- This method processes a request for a logoff.
- Specified by:
processLogoff
in class AuthenticationBean
- Parameters:
data
- DataPacket containing the sessionId for the logoff request.
- Returns:
- Vector of logoff responses
- Throws:
ProcessingErrorException
- if there is no user id
processLogon
public Vector processLogon(DataPacket data)
throws AuthenticationException
- This method pocesses a Logon for a user. A logon requires a DataPacket
containing the userId and password.
- Specified by:
processLogon
in class AuthenticationBean
- Parameters:
data
- Datapacket containg userId and password
- Returns:
- a vector of DataPackets, each one containing logon response
- Throws:
AuthenticationException
Copyright © 2005, 2007, Oracle. All rights reserved.