jakartaee / jakartaee/authorization

Add default methods to PolicyConfiguration

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.