MP JWT 1.2 fails to load all relevant MP Config properties #19627
Labels
release bug
This bug is present in a released version of Open Liberty
release:22004
team:Security SSO
Projects
Describe the bug
The mpJwt-1.2 feature might fail to load MP Config properties related to MicroProfile JWT 1.2. The MP JWT feature uses an OSGi service (
MpConfigProxyService
) to load MP Config properties related to the feature. There are currently implementation classes for two versions of that service - 1.1 and 1.2 - that load the MP Config properties specific to each respective MP JWT release. It's possible for the 1.1 version of the service to be activated and set as the service to use in theMicroProfileJwtTAI
class before the 1.2 version of the service is activated. That can cause the MP JWT feature to ignore any MP Config properties specific to MP JWT 1.2.Example log:
Steps to Reproduce
No clear and easy steps to reproduce.
Expected behavior
The MP Config properties for the MP JWT feature version in use should be loaded correctly.
Diagnostic information:
The text was updated successfully, but these errors were encountered: