com.softslate.commerce.customer.customer
Class LoginForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.customer.AccountForm
com.softslate.commerce.customer.customer.LoginForm
- All Implemented Interfaces:
- java.io.Serializable
- public class LoginForm
- extends AccountForm
Struts form class for submissions to log into a customer account. Used for
requests to "/Login.do".
The validate
method of this class checks for the existance of
the userName
and password
properties.
- Author:
- David Tobey
- See Also:
- Serialized Form
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
private java.lang.String |
password
|
private static long |
serialVersionUID
|
private java.lang.String |
userName
|
Fields inherited from class com.softslate.commerce.customer.customer.AccountForm |
|
Fields inherited from class com.softslate.commerce.customer.core.BaseForm |
|
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Method Summary |
java.lang.String |
getPassword()
|
java.lang.String |
getUserName()
|
void |
setPassword(java.lang.String password)
|
void |
setUserName(java.lang.String userName)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class com.softslate.commerce.customer.core.BaseForm |
getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettingsBean, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettingsBean, setUser |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
userName
private java.lang.String userName
password
private java.lang.String password
LoginForm
public LoginForm()
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Copyright © SoftSlate, Inc. 20032005