|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.examples.bugzooky.BugzookyActionBean
net.sourceforge.stripes.examples.bugzooky.LoginActionBean
public class LoginActionBean
An example of an ActionBean that uses validation annotations on fields instead of on methods. Logs the user in using a conventional username/password combo and validates the password in the action method.
Constructor Summary | |
---|---|
LoginActionBean()
|
Method Summary | |
---|---|
String |
getPassword()
The password of the user trying to log in. |
String |
getTargetUrl()
The URL the user was trying to access (null if the login page was accessed directly). |
String |
getUsername()
The username of the user trying to log in. |
net.sourceforge.stripes.action.Resolution |
login()
|
void |
setPassword(String password)
The password of the user trying to log in. |
void |
setTargetUrl(String targetUrl)
The URL the user was trying to access (null if the login page was accessed directly). |
void |
setUsername(String username)
The username of the user trying to log in. |
Methods inherited from class net.sourceforge.stripes.examples.bugzooky.BugzookyActionBean |
---|
getContext, populateBug, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoginActionBean()
Method Detail |
---|
public void setUsername(String username)
public String getUsername()
public void setPassword(String password)
public String getPassword()
public String getTargetUrl()
public void setTargetUrl(String targetUrl)
public net.sourceforge.stripes.action.Resolution login()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |