From d394de725fb81f6bfcc8e74157b1cd9bbe84fb27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 3 Aug 2016 15:47:38 +0200 Subject: [PATCH] opps, needs to be PasswordHistory which contains the updated instance as 2 things are being returned: password history entry and updated user instance --- .../mxchange/jusercore/model/user/UserSessionBeanRemote.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java index 1ebe729..42a4267 100644 --- a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java @@ -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 { *

* @param user User instance with updated password *

- * @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 -- 2.39.5