From c6ac55d42c29ac6491945097d5e602100a3a838b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 16 Apr 2020 02:43:11 +0200 Subject: [PATCH] Continued: - user login procedure over EJB is old-lost code and can be done outside the EJB MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../login/UserLoginSessionBeanRemote.java | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 src/org/mxchange/juserlogincore/model/user/login/UserLoginSessionBeanRemote.java diff --git a/src/org/mxchange/juserlogincore/model/user/login/UserLoginSessionBeanRemote.java b/src/org/mxchange/juserlogincore/model/user/login/UserLoginSessionBeanRemote.java deleted file mode 100644 index 00b87ff..0000000 --- a/src/org/mxchange/juserlogincore/model/user/login/UserLoginSessionBeanRemote.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2016 - 2020 Free Software Foundation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.juserlogincore.model.user.login; - -import java.io.Serializable; -import javax.ejb.Remote; -import org.mxchange.jusercore.exceptions.UserNotFoundException; -import org.mxchange.jusercore.exceptions.UserStatusLockedException; -import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException; -import org.mxchange.jusercore.model.user.User; -import org.mxchange.juserlogincore.container.login.LoginContainer; -import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException; - -/** - * A remote interface for user login - *

- * @author Roland Häder - */ -@Remote -public interface UserLoginSessionBeanRemote extends Serializable { - - /** - * Validates if the user is a confirmed account and returns the full user - * instance - *

- * @param container Login container holding user instance and clear-text password - *

- * @return Full confirmed user account - *

- * @throws org.mxchange.jusercore.exceptions.UserNotFoundException If the - * user account was not found - * @throws org.mxchange.jusercore.exceptions.UserStatusLockedException If - * 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 - */ - User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException; -} -- 2.39.5