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

3.x: Security context not overridden #7512

Conversation

Verdent
Copy link
Member

@Verdent Verdent commented Sep 4, 2023

Description

Security context is no longer overridden when combining WebSecurity and JAX-RS endpoint. This issue was happening in SecurityPreMatchingFilter in cases where WebSecurity authenticated user. SecurityPreMatchingFilter obtained already processed SecurityContext and replaced it with not processed one.

Fixes #7509
Backport of #7511

Documentation

None

@Verdent Verdent requested a review from tomas-langer September 4, 2023 12:23
@Verdent Verdent self-assigned this Sep 4, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 4, 2023
Signed-off-by: David Kral <[email protected]>
@Verdent Verdent merged commit 6e540ea into helidon-io:helidon-3.x Sep 5, 2023
@Verdent Verdent deleted the 7509-securityprematching-overrides-context branch September 5, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3.x] SecurityPreMatchingFilter is overriding the SecurityContext when using webserver security
2 participants