jakartaee / jakartaee/authorization

TCK: Tests do not validate the PrincipalMapper at all

Open
#176 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
17
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Current no TCK tests are making use of the PrincipalMapper API so there is no coverage of the function. This coverage could be contained by having overriding the Policy of PolicyFactory for one of the test and have it do things using the PrincipalMapper

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TCK tests and the PrincipalMapper and PolicyFactory APIs. Add coverage that exercises PrincipalMapper through a test policy supplied by overriding the Policy of PolicyFactory, then run the relevant TCK tests and confirm the API behavior is validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.