com.bankframe.services.authentication.ejb
Class EJBUserAuthenticationBean

java.lang.Object
  extended bycom.bankframe.ejb.ESessionBean
      extended bycom.bankframe.services.authentication.AuthenticationBean
          extended bycom.bankframe.services.authentication.ejb.EJBUserAuthenticationBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.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
 java.util.Vector processLogoff(DataPacket data)
          This method processes a request for a logoff.
 java.util.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 java.util.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 java.util.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.