Skip to content

RANGER-5533:Verify JWT Issuer Claims if present#901

Open
ChinmayHegde24 wants to merge 3 commits intoapache:masterfrom
ChinmayHegde24:RANGER-5533
Open

RANGER-5533:Verify JWT Issuer Claims if present#901
ChinmayHegde24 wants to merge 3 commits intoapache:masterfrom
ChinmayHegde24:RANGER-5533

Conversation

@ChinmayHegde24
Copy link
Copy Markdown
Contributor

Support for validating the iss (issuer) claim in JWT has been added as part of this PR.

@ChinmayHegde24 ChinmayHegde24 requested a review from kumaab April 8, 2026 06:27
verify(chain, times(0)).doFilter(any(ServletRequest.class), any(ServletResponse.class));
}

@Test
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What value does this test add? A test function to test protected boolean validateIssuer(final SignedJWT jwtToken) { seems appropriate.

Copy link
Copy Markdown
Contributor Author

@ChinmayHegde24 ChinmayHegde24 Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes thank you so much @kumaab for reviewing this PR, Unit tests for validateIssuer() are not added in this PR as the ranger-authn module currently has no test coverage. This is being tracked separately under RANGER-5548

@ChinmayHegde24 ChinmayHegde24 requested a review from kumaab April 9, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants