*/
void setUserPassword (final String userPassword);
- /**
- * Getter for current unencrypted user password
- * <p>
- * @return Current unencrypted user password
- */
- String getUserCurrentPassword ();
-
- /**
- * Setter for current unencrypted user password
- * <p>
- * @param userCurrentPassword Current unencrypted user password
- */
- void setUserCurrentPassword (final String userCurrentPassword);
-
/**
* Getter for unencrypted user password repeated
* <p>
void setUserPasswordRepeat (final String userPasswordRepeat);
/**
- * Changes logged-in user's password. It must not match with current password and should not appear in password history list for X (configurable) entries.
+ * Checks whether all required "password-change fields" are set.
+ * <p>
+ * @return Whether the required fields are set
+ */
+ boolean isRequiredChangePasswordSet ();
+
+ /**
+ * Changes logged-in user's password. It must not match with current
+ * password and should not appear in password history list for X
+ * (configurable) entries.
* <p>
* @return Redirect outcome
*/