-
Notifications
You must be signed in to change notification settings - Fork 6.1k
InMemoryReactiveClientRegistrationRepository should not use ConcurrentReferenceHashMap #7299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can make that change. |
Sounds great, @eberttc, it's yours! |
I'm getting this error at pushing: remote: Permission to spring-projects/spring-security.git denied to eberttc. Do I need permission in the project? |
Correct, @eberttc, you will need to fork the repository first. Check out this GitHub Guide about forking. The basic idea is that you fork the repository and that fork is yours - you commit to that, and then form a pull request. It may seem like a lot for just a little change like this, but having it this way will assist you with doing more sophisticated PRs down the road. |
Thanks for the support @jzheaux . |
ConcurrentReferenceHashMap
is a cache-style map that uses weak references.Since
InMemoryReactiveClientRegistrationRepository
is intended to be persistent, it should instead useConcurrentHashMap
.The change to be made is in the
InMemoryReactiveClientRegistrationRepository
constructor that instantiates aConcurrentReferenceHashMap
:should instead be
This ticket should also be backported to 5.1.x.
The text was updated successfully, but these errors were encountered: