ejb.authenticating
Class AuthenticateBean

java.lang.Object
  |
  +--ejb.authenticating.AuthenticateBean
All Implemented Interfaces:
EnterpriseBean, Serializable, SessionBean

public class AuthenticateBean
extends Object
implements SessionBean

This is the bean class for the Authenticate stateless session bean. For information about the Authenticate component, its behavior and exception handling, please see Authenticate.

Version:
1.0
Author:
Team Two: Matthew Bass, Vijay Sai, Manik Bhojwani, Paulo Merson
See Also:
Authenticate, Serialized Form

Constructor Summary
AuthenticateBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 boolean isAlive()
          Always returns true - if reachable.
 int login(String userName)
           
 void setSessionContext(SessionContext arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticateBean

public AuthenticateBean()
Method Detail

setSessionContext

public void setSessionContext(SessionContext arg0)
                       throws EJBException,
                              RemoteException
Specified by:
setSessionContext in interface SessionBean
See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)

ejbRemove

public void ejbRemove()
               throws EJBException,
                      RemoteException
Specified by:
ejbRemove in interface SessionBean
See Also:
SessionBean.ejbRemove()

ejbActivate

public void ejbActivate()
                 throws EJBException,
                        RemoteException
Specified by:
ejbActivate in interface SessionBean
See Also:
SessionBean.ejbActivate()

ejbPassivate

public void ejbPassivate()
                  throws EJBException,
                         RemoteException
Specified by:
ejbPassivate in interface SessionBean
See Also:
SessionBean.ejbPassivate()

ejbCreate

public void ejbCreate()
               throws EJBException,
                      RemoteException
See Also:
SessionBean.ejbPassivate()

login

public int login(String userName)
          throws RemoteException
See Also:
Authenticate.login(java.lang.String)

isAlive

public boolean isAlive()
                throws RemoteException
Always returns true - if reachable.


Copyright © 2003 Team Two.