Class LogonForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.schemedit.security.action.form.LogonForm
- All Implemented Interfaces:
Serializable
public final class LogonForm
extends org.apache.struts.action.ActionForm
Form bean for the user profile page. This form has the following fields,
with default values in square brackets:
- password - Entered password value
- username - Entered username value
- Version:
- $Revision: 1.5 $ $Date: 2009/03/20 23:33:57 $
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDest()Return the password.Return the username.voidreset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Reset all properties to their default values.voidvoidsetPassword(String password) Set the password.voidsetRequiredRole(String role) voidsetUsername(String username) Set the username.org.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set from this HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found.Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
LogonForm
public LogonForm()
-
-
Method Details
-
getPassword
Return the password. -
setPassword
Set the password.- Parameters:
password- The new password
-
getUsername
Return the username. -
setUsername
Set the username.- Parameters:
username- The new username
-
getDest
-
setDest
-
getRequiredRole
-
setRequiredRole
-
reset
Reset all properties to their default values.- Overrides:
resetin classorg.apache.struts.action.ActionForm- Parameters:
mapping- The mapping used to select this instancerequest- The servlet request we are processing
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set from this HTTP request, and return anActionErrorsobject that encapsulates any validation errors that have been found. If no errors are found, returnnullor anActionErrorsobject with no recorded error messages.- Overrides:
validatein classorg.apache.struts.action.ActionForm- Parameters:
mapping- The mapping used to select this instancerequest- The servlet request we are processing
-