|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.actions.LoginUser
This is where we authenticate the user logging into the system against a user in the database. If the user exists in the database that users last login time will be updated.
Field Summary | |
static java.lang.String |
CGI_PASSWORD
CGI Parameter for the password |
static java.lang.String |
CGI_USERNAME
CGI Parameter for the user name |
Constructor Summary | |
LoginUser()
|
Method Summary | |
void |
doPerform(RunData data)
Updates the user's LastLogin timestamp, sets their state to "logged in" and calls RunData.setUser() . |
Methods inherited from class org.apache.turbine.modules.Action |
perform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CGI_USERNAME
public static final java.lang.String CGI_PASSWORD
Constructor Detail |
public LoginUser()
Method Detail |
public void doPerform(RunData data) throws TurbineSecurityException
doPerform
in class Action
data
- Turbine information.
TurbineSecurityException
- could not get instance of the
anonymous user
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |