]> git.mxchange.org Git - juser-activity-lib.git/commitdiff
opps, needs to be PasswordHistory which contains the updated instance as 2 things...
authorRoland Häder <roland@mxchange.org>
Wed, 3 Aug 2016 13:47:38 +0000 (15:47 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 3 Aug 2016 13:47:38 +0000 (15:47 +0200)
src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java

index 1ebe7291459b21691992281072da4b3b3414a1c0..42a4267afe66aaeeb742f86679fddf06ea1a495b 100644 (file)
@@ -25,6 +25,7 @@ import org.mxchange.jusercore.exceptions.UserNotFoundException;
 import org.mxchange.jusercore.exceptions.UserStatusConfirmedException;
 import org.mxchange.jusercore.exceptions.UserStatusLockedException;
 import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
+import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
 
 /**
  * An interface for user beans
@@ -40,13 +41,13 @@ public interface UserSessionBeanRemote extends Serializable {
         * <p>
         * @param user User instance with updated password
         * <p>
-        * @return Updated user instance
+        * @return Password history entry with updated user instance
         *
         * @throws UserNotFoundException If the user is not found
         * @throws UserStatusUnconfirmedException If the user status is unconfirmed
         * @throws UserStatusLockedException If the user status is locked
         */
-       User updateUserPassword (final User user) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
+       PasswordHistory updateUserPassword (final User user) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
 
        /**
         * Changes the user' account status to CONFIRMED if the status is