|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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.
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 |
Constructor Detail |
public LoginUser()
Method Detail |
public void doPerform(RunData data) throws java.lang.Exception
Note: Turbine clears the session before calling this method
doPerform
in class Action
data
- Turbine information.Exception,
- a generic exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |