jakartaee / jakartaee/authorization
Add default methods to PolicyConfiguration
- Dominant language
- Java
- Stars
- 17
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
`PolicyConfiguration` is a rather large and unwieldy interface to provide an implementation of from scratch.
A number of methods, specifically overloads that take a `PermissionCollection` vs a `Permission` can have simple defaults. This can make it easier for implementors and makes the code that is specific to an implementation easier to read.
Contributor guide
Research direction
Start with the PolicyConfiguration interface and review the overloads that accept a PermissionCollection versus a Permission. Identify which overloads can have simple defaults, then confirm that implementations require less duplicated code while preserving the existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authorization
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100