From d84c91496b8aeafe2a96eedfbf6884dd04f054e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Wed, 23 Feb 2022 14:03:45 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mca/sec/service/SecurityService.java | 4 ++-- src/main/webapp/WEB-INF/jsp/layout/header.jsp | 3 --- .../WEB-INF/jsp/layout/template_login.jsp | 18 ++++++++++++------ src/main/webapp/WEB-INF/jsp/login.jsp | 1 + src/main/webapp/css/style.css | 11 ++++++++--- 5 files changed, 23 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/mca/sec/service/SecurityService.java b/src/main/java/com/mca/sec/service/SecurityService.java index 4a661e1..371e751 100644 --- a/src/main/java/com/mca/sec/service/SecurityService.java +++ b/src/main/java/com/mca/sec/service/SecurityService.java @@ -34,9 +34,9 @@ public class SecurityService implements UserDetailsService{ } else { throw new UsernameNotFoundException("접속자 정보를 찾을 수 없습니다."); } - if (authorities.size() == 0) { + if (authorities.size() == 0) { throw new UsernameNotFoundException("User " + member.getUserid()+ " has no GrantedAuthority"); - } + } return new EgovUserDetails(member.getUserid(), member.getPassword(), true, true, true, true, authorities, member); } diff --git a/src/main/webapp/WEB-INF/jsp/layout/header.jsp b/src/main/webapp/WEB-INF/jsp/layout/header.jsp index 23336ea..6999694 100644 --- a/src/main/webapp/WEB-INF/jsp/layout/header.jsp +++ b/src/main/webapp/WEB-INF/jsp/layout/header.jsp @@ -18,9 +18,6 @@
- - 모바일센터 관리시스템 - 모바일센터 관리시스템 diff --git a/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp b/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp index a4db7a1..25e051e 100644 --- a/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp +++ b/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp @@ -15,6 +15,15 @@ "> " rel="stylesheet"> " rel="stylesheet"> + <tiles:insertAttribute name="title" ignore="true" /> @@ -22,13 +31,10 @@ - -
- -
+ +
-
-
+