Class UpdatePasswordBean
java.lang.Object
ch.tocco.nice2.rest.core.spi.beans.HalBean
ch.tocco.nice2.rest.principal.impl.beans.UpdatePasswordBean
- All Implemented Interfaces:
Serializable
Request body of POST requests.
Contains the new and the old password, used for validating and updating the password.
The ReCaptcha token is necessary for updating the password (but not for validation).
The old password may be null for usermanagers.
The captcha token many be null for usermanagers that are changing the password of another user.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable String
void
setCaptchaToken
(@Nullable String captchaToken) void
setNewPassword
(String newPassword) void
setOldPassword
(@Nullable String oldPassword)
-
Constructor Details
-
UpdatePasswordBean
public UpdatePasswordBean()
-
-
Method Details
-
getOldPassword
-
setOldPassword
-
getNewPassword
-
setNewPassword
-
getCaptchaToken
-
setCaptchaToken
-