ARGO-5670 Fix Quarkus Authorization CDI integration after Quarkus Auth API changed - #199
Open
cthermolia-grnet wants to merge 1 commit into
Open
ARGO-5670 Fix Quarkus Authorization CDI integration after Quarkus Auth API changed#199cthermolia-grnet wants to merge 1 commit into
cthermolia-grnet wants to merge 1 commit into
Conversation
cthermolia-grnet
force-pushed
the
fixIssuesDueToQuarkusUpdate
branch
from
July 14, 2026 14:12
658679f to
9dc33aa
Compare
Contributor
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update authorization service injection after Quarkus auth library changes
The authorization library was updated to support Mongo-based authorization queries. As part of this change, ResourceAuthorizationService is no longer intended to be injected and used directly.
The previous implementation injected the service through the interface:
@Inject
ResourceAuthorizationService resourceAuthorizationService;
This caused CDI resolution issues after upgrading the authorization dependency.
The authorization service injection has been updated to use the externally authorized implementation with the appropriate qualifier:
@Inject
@ExternalSystemAuthorization
OidcResourceAuthorizationService resourceAuthorizationService;
Changes included
Updated CDI injection to use OidcResourceAuthorizationService instead of ResourceAuthorizationService.
Added the @ExternalSystemAuthorization qualifier to correctly resolve the authorization bean.
Fixed CDI injection issues introduced by the authorization library update.
Restored authorization functionality with the new Quarkus authentication flow.
Impact
No API behavior changes are introduced. This change only updates the internal authorization service integration to be compatible with the latest authorization library version.