jakartaee / jakartaee/authorization

Register a policy provider programmatically per application

Open
#98 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
17
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Current a policy provider can only be added at the system/jvm level. This doesn't play well with cloud deployments, and for those use cases with the authorization rules are application specific.

Add a method to register a policy provider with the `PolicyConfigurationFactory`, so that this policy provider can be used for a single application.

Contributor guide

Open the contributing guide

Research direction

Start by reading PolicyConfigurationFactory and trace how policy providers are currently registered at the system/JVM level. Determine the application-scoped registration entry point and its lifecycle, then verify that a provider registered for one application does not affect other applications. Done means an application can register and use its own policy provider programmatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.