[JIRA] (SSPCPP-957) Log additional details when attribute is filtered out due to missing or invalid scope

Paul B. Henson (Jira) jira at shibboleth.atlassian.net
Thu Sep 29 04:32:58 UTC 2022


Paul B. Henson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5b58f937ffd0a32d7917a0df ) *created* an issue

Shibboleth SP - C++ ( https://shibboleth.atlassian.net/browse/SSPCPP?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/SSPCPP-957?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 ) SSPCPP-957 ( https://shibboleth.atlassian.net/browse/SSPCPP-957?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 ) Log additional details when attribute is filtered out due to missing or invalid scope ( https://shibboleth.atlassian.net/browse/SSPCPP-957?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Attribute Resolution / Filtering Created: 29/Sep/22 12:32 AM Priority: Trivial Reporter: Paul B. Henson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5b58f937ffd0a32d7917a0df )

When diagnosing interoperability issues with an idp, it can be useful to know more details about why attributes are filtered out. This adds two additional warning level log messages to the AttributeMatchesShibMDScopeFunctor function, one indicating that a scoped attribute had no scope:

2022-09-21 19:13:02 WARN Shibboleth.AttributeFilter [1] [default]: attribute (entitlement) missing scope

and another when a scope attribute was passed with an invalid scope indicating what that invalid scope was:

2022-09-21 19:10:22 WARN Shibboleth.AttributeFilter [1] [default]: attribute (subject-id) invalid scope (samltest.id)

( https://shibboleth.atlassian.net/browse/SSPCPP-957#add-comment?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/SSPCPP-957#add-comment?atlOrigin=eyJpIjoiZGM4NDU1ZjMyZDY5NDRmMjlhMjI1MDEzODBmYzIyYzUiLCJwIjoiaiJ9 )

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#100207- sha1:ee9e30a )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220929/9907b810/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-1d79bca1-be5a-4041-887a-c85c230ae619
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220929/9907b810/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-8737c105-f464-4721-8df4-90cca0c3578d
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220929/9907b810/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-e151ecf9-0a87-4d17-b9c3-808c24203bd8
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220929/9907b810/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-02840c30-65e4-4a4a-ab04-3f280cd1c40e
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220929/9907b810/attachment-0007.png>


More information about the commits mailing list