protected void doSaveRememberMeCookie ( USER_ENTITY userEntity , USER_BEAN userBean , int expireDays , String cookieKey ) { logger . debug ( "...Saving remember-me key to cookie: key={}" , cookieKey ) ; final String value = buildRememberMeCookieValue ( userEntity , userBean , expireDays ) ; final int expireSeconds = expireDays * 60 * 60 * 24 ; // cookie's expire, same as access token cookieManager . setCookieCiphered ( cookieKey , value , expireSeconds ) ; }
Do save remember - me key to cookie .