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