Class ResetPasswordForm
java.lang.Object
com.broadleafcommerce.auth.user.api.dto.ResetPasswordForm
- All Implemented Interfaces:
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 default reset-password.html template, this classname can be set using
the message property reset.pw.form.classname. See the Jackson Docs for more information
on their designs for polymorphic
deserialization.
- Author:
- Nathan Moore (nathanmoore).
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResetPasswordForm(String username, String token, String password, String client_id) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetToken()inthashCode()voidsetClient_id(String client_id) voidsetPassword(String password) voidvoidsetUsername(String username) toString()
-
Field Details
-
username
-
token
-
password
-
client_id
-
-
Constructor Details
-
ResetPasswordForm
-
ResetPasswordForm
public ResetPasswordForm()
-
-
Method Details