/*
- * Copyright (C) 2016 Cho-Time GmbH
+ * Copyright (C) 2016 Roland Haeder
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
/**
* An interface for user beans
* <p>
- * @author Roland Haeder<rhaeder@cho-time.de>
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Local
public interface JobsUserPasswordWebRequestController extends Serializable {
*/
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
*/