protected void saveRememberMeKeyToCookie ( USER_ENTITY userEntity , USER_BEAN userBean ) { final int expireDays = getRememberMeAccessTokenExpireDays ( ) ; getCookieRememberMeKey ( ) . ifPresent ( cookieKey -> { doSaveRememberMeCookie ( userEntity , userBean , expireDays , cookieKey ) ; } ) ; }
Save remember - me key to cookie .