From d7a8daf10fc7c012306e640905ce85669fa9d41a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 Jul 2017 23:56:04 +0200 Subject: [PATCH] Please cherry-pick: - 'login' is to generic, there are maybe other logins around than just for users only MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/{ => user}/login/JobsUserLoginSessionBean.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/java/org/mxchange/jusercore/model/{ => user}/login/JobsUserLoginSessionBean.java (93%) diff --git a/src/java/org/mxchange/jusercore/model/login/JobsUserLoginSessionBean.java b/src/java/org/mxchange/jusercore/model/user/login/JobsUserLoginSessionBean.java similarity index 93% rename from src/java/org/mxchange/jusercore/model/login/JobsUserLoginSessionBean.java rename to src/java/org/mxchange/jusercore/model/user/login/JobsUserLoginSessionBean.java index bd6fc5e..6bc3181 100644 --- a/src/java/org/mxchange/jusercore/model/login/JobsUserLoginSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/login/JobsUserLoginSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jusercore.model.login; +package org.mxchange.jusercore.model.user.login; import java.text.MessageFormat; import javax.ejb.EJB; @@ -37,7 +37,7 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus; *

* @author Roland Häder */ -@Stateless (name = "login", description = "A bean handling the user login") +@Stateless (name = "userLogin", description = "A bean handling the user login for Financials project") public class JobsUserLoginSessionBean extends BaseJobsDatabaseBean implements UserLoginSessionBeanRemote { /** @@ -71,8 +71,8 @@ public class JobsUserLoginSessionBean extends BaseJobsDatabaseBean implements Us this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.loginUser: container={1} - CALLED!", this.getClass().getSimpleName(), container)); //NOI18N // Check some beans - assert(this.userBean instanceof UserSessionBeanRemote) : "this.userBean is not set"; //NOI18N - assert(this.registerBean instanceof UserRegistrationSessionBeanRemote) : "this.registerBean is not set"; //NOI18N + assert (this.userBean instanceof UserSessionBeanRemote) : "this.userBean is not set"; //NOI18N + assert (this.registerBean instanceof UserRegistrationSessionBeanRemote) : "this.registerBean is not set"; //NOI18N // user should not be null if (null == container) { -- 2.39.5