com.bankframe.services.authentication.ejb
Class EJBUserAuthenticationBean

java.lang.Object
  extended by com.bankframe.ejb.ESessionBean
      extended by com.bankframe.services.authentication.AuthenticationBean
          extended by 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

Constructor Summary
EJBUserAuthenticationBean()
          Constructor.
 
Method Summary
 Vector processLogoff(DataPacket data)
          This method processes a request for a logoff.
 Vector processLogon(DataPacket data)
          This method pocesses a Logon for a user.
 
Methods inherited from class com.bankframe.services.authentication.AuthenticationBean
processDataPacket
 
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

EJBUserAuthenticationBean

public EJBUserAuthenticationBean()
Constructor.

Method Detail

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.