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;
* 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>
* 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;
}