기관/부서 관련 수정

master
mjkhan21 5 months ago
parent 63092ba7fd
commit fd937a700a

@ -33,17 +33,6 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces
@Resource(name="userBean") @Resource(name="userBean")
private UserBean userBean; private UserBean userBean;
/**private boolean rememberCredentials;
* .
* @param remember
* <ul><li> true</li>
* <li> false</li>
* </ul>
public void setRememberCredentials(boolean remember) {
this.rememberCredentials = remember;
}
*/
/** . /** .
* @return * @return
*/ */
@ -88,7 +77,6 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces
private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) { private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) {
boolean remember = "true".equals(hreq.getParameter("rememberCredentials")); boolean remember = "true".equals(hreq.getParameter("rememberCredentials"));
// boolean remember = rememberCredentials && "true".equals(hreq.getParameter("remember"));
addCookie(hresp, remember, "userAccount", user.getAccount()); addCookie(hresp, remember, "userAccount", user.getAccount());
addCookie(hresp, remember, "userInstitute", user.getInstitute()); addCookie(hresp, remember, "userInstitute", user.getInstitute());
} }

Loading…
Cancel
Save