spring-projects / spring-projects/spring-security
SEC-1987: Create RememberMeAware interface
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Rob Winch (Migrated from SEC-1987) said:
It is difficult to support remember me with other types of authentication since Java does not support multiple inheritance. We should use an interface instead. High level steps
- Add an interface called RememberMeAware (or something similar) which has a method called isRememberMe()
- RememberMeAuthenticationToken should implement the new interface with a final method that returns true all the time
- Update the TrustResolverImpl to use the interface to determine if remember me was used
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating RememberMeAuthenticationToken and TrustResolverImpl, then inspect how authentication types currently determine whether remember-me was used. Add the RememberMeAware interface and update those two authentication paths as described, ensuring the existing remember-me token always reports true. Run the relevant Spring Security authentication and trust-resolver tests, or add coverage if none exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100