From 115f1a3213ff314869703925df21e3fe29fcc7c8 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Sun, 11 Jun 2023 16:45:36 +0900 Subject: [PATCH] =?UTF-8?q?log4j=20=EC=A0=9C=EC=99=B8,=20userID=20->=20acc?= =?UTF-8?q?ount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 ++++++ .../service/bean/AuthenticationBean.java | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index ee62cd9..48ff641 100644 --- a/pom.xml +++ b/pom.xml @@ -84,6 +84,12 @@ org.egovframe.rte org.egovframe.rte.fdl.security ${org.egovframe.rte.version} + + + org.apache.logging.log4j + log4j-slf4j-impl + + diff --git a/src/main/java/cokr/xit/base/security/authentication/service/bean/AuthenticationBean.java b/src/main/java/cokr/xit/base/security/authentication/service/bean/AuthenticationBean.java index b47cdbf..e594eef 100644 --- a/src/main/java/cokr/xit/base/security/authentication/service/bean/AuthenticationBean.java +++ b/src/main/java/cokr/xit/base/security/authentication/service/bean/AuthenticationBean.java @@ -34,13 +34,13 @@ public class AuthenticationBean extends AbstractComponent { return userMapper.getUser(params); } - /**주어진 아이디의 사용자를 가져온다. - * @param userID 사용자 아이디 + /**주어진 계정의 사용자를 가져온다. + * @param account 사용자 계정 * @return 사용자 - */ - public User getUser(String userID) { + */ + public User getUser(String account) { return getUser( - new DataObject().set("userIDs", new String[] {userID}) + new DataObject().set("account", account) ); }