| org.vfny.geoserver.form.LoginForm
LoginForm | public class LoginForm extends ActionForm (Code) | | LoginForm purpose.
Stores the username/password information for the login page, to be used by the LoginAction
author: rgould, Refractions Research, Inc. author: $Author: dmzwiers $ (last modification) version: $Id: LoginForm.java 6177 2007-02-19 10:11:27Z aaime $ |
getPassword | public String getPassword()(Code) | | Access password property.
Returns the password. |
getUsername | public String getUsername()(Code) | | Access username property.
Returns the username. |
reset | public void reset(ActionMapping arg0, HttpServletRequest request)(Code) | | sets username and password to empty strings
See Also: org.apache.struts.action.ActionForm.reset(org.apache.struts.action.ActionMappingjavax.servlet.http.HttpServletRequest) Parameters: arg0 - Parameters: request - |
setPassword | public void setPassword(String password)(Code) | | Set password to password.
Parameters: password - The password to set. |
setUsername | public void setUsername(String username)(Code) | | Set username to username.
Parameters: username - The username to set. |
validate | public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code) | | Verifies that username is not null or empty.
Could potentially do the same for password later.
See Also: org.apache.struts.action.ActionForm.validate(org.apache.struts.action.ActionMappingjavax.servlet.http.HttpServletRequest) Parameters: mapping - Parameters: request - |
|
|