Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return claim names for JWT test security #22397

Merged

Conversation

danielmast
Copy link
Contributor

Problem: Using the @JwtSecurity to add claims to a test will not work when trying to retrieve them with getClaimNames() because the JWT test security identity augmentor will always return null.

Solution: Implement getClaimNames(), iterating over available claims.

@sberyozkin sberyozkin self-requested a review December 20, 2021 13:25
@sberyozkin sberyozkin merged commit 60373a0 into quarkusio:main Dec 20, 2021
@quarkus-bot quarkus-bot bot added this to the 2.7 - main milestone Dec 20, 2021
@gsmet gsmet modified the milestones: 2.7 - main, 2.6.1.Final Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants