public final class LogonForm
extends org.apache.struts.action.ActionForm
| Constructor and Description |
|---|
LogonForm() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDest() |
java.lang.String |
getPassword()
Return the password.
|
java.lang.String |
getRequiredRole() |
java.lang.String |
getUsername()
Return the username.
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values.
|
void |
setDest(java.lang.String dest) |
void |
setPassword(java.lang.String password)
Set the password.
|
void |
setRequiredRole(java.lang.String role) |
void |
setUsername(java.lang.String username)
Set the username.
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request,
and return an
ActionErrors object that encapsulates any
validation errors that have been found. |
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The new passwordpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - The new usernamepublic java.lang.String getDest()
public void setDest(java.lang.String dest)
public java.lang.String getRequiredRole()
public void setRequiredRole(java.lang.String role)
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
reset in class org.apache.struts.action.ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processingpublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionErrors object with no
recorded error messages.validate in class org.apache.struts.action.ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing