From: Roland Haeder <roland@mxchange.org>
Date: Tue, 13 Oct 2015 07:07:08 +0000 (+0200)
Subject: added thrown exception + updated jar(s)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad0524d21a7d399884747d939a4be3f64dd5a002;p=juser-login-lib.git

added thrown exception + updated jar(s)
Signed-off-by:Roland Häder <roland@mxchange.org>
---

diff --git a/lib/juser-core.jar b/lib/juser-core.jar
index 09ea6b3..b5427c7 100644
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
diff --git a/src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java b/src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java
index 453ccb0..17699eb 100644
--- a/src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java
+++ b/src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java
@@ -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;
 }