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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
username
protected java.lang.String username
password
protected java.lang.String password
LoginExpression
public LoginExpression(cuttingedge.lw.ServletSession a_ss)
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.