I'm manually invoking RememberMeServices.loginSuccess inside a customized UsernamePasswordAuthenticationFilter.attemptAuthen tication() method.
The REMEMBER_ME cookie was not being set so I tried accessing the object before calling loginSuccess. At first I thought this was working but upon further testing it does not seem to be the case.
Any idea what might contribute to the cookie being set some times but not others?
((PersistentTokenBasedRememberMeServices) this.rememberMeServices).loginSuccess(request, response, authentication);