|
|||||||||
| Home >> All >> org >> sbugs >> [ forms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.sbugs.forms
Class LoginForm

java.lang.Objectorg.apache.struts.action.ActionForm
org.sbugs.forms.LoginForm
- All Implemented Interfaces:
- java.io.Serializable
- public class LoginForm
- extends org.apache.struts.action.ActionForm
| Field Summary | |
private java.lang.String |
attemptedResource
|
private java.lang.String |
password
|
private java.lang.String |
username
|
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
LoginForm()
|
|
| Method Summary | |
java.lang.String |
getAttemptedResource()
|
java.lang.String |
getPassword()
|
java.lang.String |
getUsername()
|
boolean |
ready()
|
void |
setAttemptedResource(java.lang.String resource)
|
void |
setPassword(java.lang.String passwordParam)
|
void |
setUsername(java.lang.String name)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
username
private java.lang.String username
password
private java.lang.String password
attemptedResource
private java.lang.String attemptedResource
| Constructor Detail |
LoginForm
public LoginForm()
| Method Detail |
getAttemptedResource
public java.lang.String getAttemptedResource()
setAttemptedResource
public void setAttemptedResource(java.lang.String resource)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String name)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String passwordParam)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Description copied from class:
org.apache.struts.action.ActionForm Validate the properties that have been set for this HTTP request, and return an
ActionErrorsobject that encapsulates any validation errors that have been found. If no errors are found, returnnullor anActionErrorsobject with no recorded error messages.The default implementation performs no validation and returns
null. Subclasses must override this method to provide any validation they wish to perform.
ready
public boolean ready()
|
|||||||||
| Home >> All >> org >> sbugs >> [ forms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC