SpringSource/spring-security — pull request #12 by leleuj (2012-06-30 10:31:32+00:00)
Title: SEC-1987: create RememberMeAware interface

- I create the RememberMeAware interface with the isRemember() method
- I make the RememberMeAuthenticationToken class implement this interface with a final isRemember() method which always returns true
- I change the isRememberMe() method behaviour of the AuthenticationTrustResolverImpl class to test if the authentication is an instance of the RememberMeAware interface and in this case, return true if the isRemember() method returns true too. This test is made after the "old" ones I keep for backward compatibility reasons
- I make the TestingAuthenticationToken class implement the RememberMeAware interface for testing
- I update the AuthenticationTrustResolverImplTests class to test the RememberMeAware implementation.