]> git.mxchange.org Git - juser-login-lib.git/commitdiff
added thrown exception + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Tue, 13 Oct 2015 07:07:08 +0000 (09:07 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 13 Oct 2015 13:03:12 +0000 (15:03 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/juser-core.jar
src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java

index 09ea6b3f0f643b981a140f730b9a03a284e6501d..b5427c7ef70674cd0b86e5919c381741b38480b1 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index 453ccb0d80b50cd3fbddb5a1d35a673ac9255434..17699eb6d4fb7eb38a3a282099b906ac0015b17c 100644 (file)
@@ -18,7 +18,9 @@ package org.mxchange.jusercore.model.login;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
+import org.mxchange.jusercore.container.login.LoginContainer;
 import org.mxchange.jusercore.exceptions.UserNotFoundException;
+import org.mxchange.jusercore.exceptions.UserPasswordMismatchException;
 import org.mxchange.jusercore.exceptions.UserStatusLockedException;
 import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
 import org.mxchange.jusercore.model.user.User;
@@ -35,7 +37,8 @@ public interface UserLoginSessionBeanRemote extends Serializable {
         * Validates if the user is a confirmed account and returns the full user
         * instance
         * <p>
-        * @param user User instance to register
+        * @param container Login container holding user instance and unencrypted
+        * password
         * <p>
         * @return Full confirmed user account
         * <p>
@@ -45,6 +48,8 @@ public interface UserLoginSessionBeanRemote extends Serializable {
         * the user account is locked
         * @throws org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException
         * If the user account is unconfirmed
+        * @throws org.mxchange.jusercore.exceptions.UserPasswordMismatchException
+        * If the password is not matching
         */
-       public User validateUserAccountStatus (final User user) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException;
+       public User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException;
 }