]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/user/password/JobsUserPasswordWebRequestController.java
Please cherry-pick:
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / user / password / JobsUserPasswordWebRequestController.java
index 73767ba4b288129f6799b23b86798be7bec1c50f..a47f00b5897549c0396a84edd021bc79145123cd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -22,7 +22,7 @@ import javax.ejb.Local;
 /**
  * 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 {
@@ -41,20 +41,6 @@ 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>
@@ -70,7 +56,16 @@ public interface JobsUserPasswordWebRequestController extends Serializable {
        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
         */