Class ResetPasswordForm
- java.lang.Object
-
- com.broadleafcommerce.auth.user.api.dto.ResetPasswordForm
-
- All Implemented Interfaces:
Serializable
public class ResetPasswordForm extends Object implements Serializable
This form backs the password reset HTML form as a DTO.You can specify custom implementations of
ResetPasswordForm
by including{"classname": "fully.qualified.class.name"}
of your class in the json body or<input type="hidden" name="classname" value="fully.qualified.class.name"/>
in the HTML form. If using the defaultreset-password.html
template, this classname can be set using the message propertyreset.pw.form.classname
. See the Jackson Docs for more information on their designs for polymorphic deserialization.- Author:
- Nathan Moore (nathanmoore).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResetPasswordForm.ResetPasswordFormBuilder
-
Constructor Summary
Constructors Constructor Description ResetPasswordForm()
ResetPasswordForm(String username, String token, String password, String client_id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResetPasswordForm.ResetPasswordFormBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getClient_id()
String
getPassword()
String
getToken()
String
getUsername()
int
hashCode()
void
setClient_id(String client_id)
void
setPassword(String password)
void
setToken(String token)
void
setUsername(String username)
String
toString()
-
-
-
Method Detail
-
builder
public static ResetPasswordForm.ResetPasswordFormBuilder builder()
-
getUsername
public String getUsername()
-
getToken
public String getToken()
-
getPassword
public String getPassword()
-
getClient_id
public String getClient_id()
-
setUsername
public void setUsername(String username)
-
setToken
public void setToken(String token)
-
setPassword
public void setPassword(String password)
-
setClient_id
public void setClient_id(String client_id)
-
canEqual
protected boolean canEqual(Object other)
-
-