spring-projects / spring-projects/spring-security
Cache in DelegatingMethodSecurityMetadataSource
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Summary
How can I delete a key from the internal cache in DelegatingMethodSecurityMetadataSource?
Another option to use another delegate?
I need to update the ConfigAttributes on runtime, but the DelegatingMethodSecurityMetadataSource cache does not allow me to do it, thanks.
Actual Behavior
The cache can not be accessed to delete.
Expected Behavior
Allow delete cache or a key from the cache.
Version
v5.1.xx
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 reading DelegatingMethodSecurityMetadataSource and tracing how its internal cache is populated and consulted. Determine the intended behavior for deleting one key, clearing the cache, or replacing a delegate when ConfigAttributes change at runtime. Done means the supported runtime update behavior is defined and verified without relying on inaccessible cache state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- authorization, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100