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()); }