edu.mssm.crover.webapps.ims.input
Class LoginExpression

java.lang.Object
  |
  +--edu.mssm.crover.ims.IMSObject
        |
        +--cuttingedge.lw.form.GenericExpression
              |
              +--edu.mssm.crover.webapps.ims.input.LoginExpression

public class LoginExpression
extends cuttingedge.lw.form.GenericExpression


Field Summary
protected  java.lang.String password
           
protected  java.lang.String username
           
 
Constructor Summary
LoginExpression(cuttingedge.lw.ServletSession a_ss)
           
 
Method Summary
 boolean evaluate()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 void setPassword(java.lang.String a_password)
           
 void setSessionUser()
          Set the session IMSUser to the user who is logging in.
 void setUsername(java.lang.String a_username)
           
 
Methods inherited from class edu.mssm.crover.ims.IMSObject
debug, debug, error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

protected java.lang.String username

password

protected java.lang.String password
Constructor Detail

LoginExpression

public LoginExpression(cuttingedge.lw.ServletSession a_ss)
Method Detail

setUsername

public void setUsername(java.lang.String a_username)

getUsername

public java.lang.String getUsername()

setPassword

public void setPassword(java.lang.String a_password)

getPassword

public java.lang.String getPassword()

evaluate

public boolean evaluate()
Specified by:
evaluate in class cuttingedge.lw.form.GenericExpression

setSessionUser

public void setSessionUser()
Set the session IMSUser to the user who is logging in. This will set the session IMSUser to an orphaned IMSUser instance of the user logging in. Reference to the database will not be maintained. It is necessary to access the session IMSUser within a transaction in order to access the properties of an IMSUser unless those properties have been accessed before.



Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.