From fd937a700a94ff29e24e38262f208c72682ca641 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 25 Jun 2024 11:28:55 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EA=B4=80/=EB=B6=80=EC=84=9C=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../authentication/web/AuthenticationSuccess.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java b/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java index 46b5a1d..4187a3b 100644 --- a/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java +++ b/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java @@ -33,17 +33,6 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces @Resource(name="userBean") private UserBean userBean; - /**private boolean rememberCredentials; - * 로그인 정보 유지 여부를 설정한다. - * @param remember 로그인 정보 유지 여부 - * - public void setRememberCredentials(boolean remember) { - this.rememberCredentials = remember; - } - */ - /**사용자 인증 서비스 인터페이스를 반환한다. * @return 사용자 인증 서비스 인터페이스 */ @@ -88,7 +77,6 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) { boolean remember = "true".equals(hreq.getParameter("rememberCredentials")); -// boolean remember = rememberCredentials && "true".equals(hreq.getParameter("remember")); addCookie(hresp, remember, "userAccount", user.getAccount()); addCookie(hresp, remember, "userInstitute", user.getInstitute()); }