[JIRA] (JCOMOIDC-42) Root cause logging in FilesystemClientInformationResolver

Simone Avogadro (Jira) jira at shibboleth.atlassian.net
Mon Feb 21 16:37:18 UTC 2022


Simone Avogadro ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A60a84ee1-4961-471b-99d8-f67c05e24403 ) *created* an issue

Java Common OIDC Library ( https://shibboleth.atlassian.net/browse/JCOMOIDC?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/JCOMOIDC-42?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 ) JCOMOIDC-42 ( https://shibboleth.atlassian.net/browse/JCOMOIDC-42?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 ) Root cause logging in FilesystemClientInformationResolver ( https://shibboleth.atlassian.net/browse/JCOMOIDC-42?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 )

Issue Type: Improvement Affects Versions: 1.1.0 Assignee: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) Created: 21/Feb/22 11:37 AM Priority: Trivial Reporter: Simone Avogadro ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A60a84ee1-4961-471b-99d8-f67c05e24403 )

The current implementation “swallows” source exceptions and thus it0s pretty hard to troublehoot broken/malformed OIDC client config files.
Specifically net.shibboleth.oidc.metadata.impl.FilesystemClientInformationResolver.parse method does not log nor rethor the source ParseException when trying to parse an Array

( https://shibboleth.atlassian.net/browse/JCOMOIDC-42#add-comment?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JCOMOIDC-42#add-comment?atlOrigin=eyJpIjoiZmFjNjgxMjUzMGQ0NDljZjhiZjY3MWJiZmFkYTUwZWEiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100192- sha1:d5e627e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/2d40e02f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-d9e7516e-cea2-487e-87ef-e177ffe45f80
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/2d40e02f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-f3f69922-bd4a-4563-97e4-127ed262d8e3
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/2d40e02f/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-de9020f3-17e6-4540-9503-37e97d4c9eed
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/2d40e02f/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-ed3d9034-0b6f-4973-b524-8da3074dcc88
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220221/2d40e02f/attachment-0007.png>


More information about the commits mailing list