Ben Myers (Migrated from SEC-1081) said:
The PersistentTokenBasedRememberMeServices always throws RememberMeAuthenticationException if tokenValiditySeconds is 30 days or 2592000 seconds.
Either tokenValiditySeconds needs to be a long or tokenValiditySeconds needs to multiply 1000L (getTokenValiditySeconds()*1000L).
Luke Taylor said:
Thanks for spotting this. I’ve change the test class to use 100 days as a default and used 1000L in the processAutoLoginCookie method.