예제 #1
0
 public static void removeLoginCaptcha() {
   SessionHolder.removeAttribute(CAPTCHA_LOGIN_KEY);
 }
예제 #2
0
 public static void setLoginCaptcha(String loginCaptcha) {
   SessionHolder.setAttribute(CAPTCHA_LOGIN_KEY, loginCaptcha);
 }
예제 #3
0
 public static String getLoginCatpcha() {
   Object obj = SessionHolder.getAttributeObj(CAPTCHA_LOGIN_KEY);
   return obj == null ? StringUtil.EMPTY : String.valueOf(obj);
 }
예제 #4
0
 public static void setUser(User user) {
   SessionHolder.setAttribute(USER_KEY, user);
 }