SEC-1081: PersistentTokenBasedRememberMeServices int overflow #1332

spring-issuemaster opened this Issue Jan 17, 2009 · 1 comment


None yet

1 participant


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.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment