[JIRA] (IDP-2075) IdP logs message at WARN when attribute filter returns no values after filtering

Keith Wessel (Jira) jira at shibboleth.atlassian.net
Wed Feb 22 00:41:56 UTC 2023


Keith Wessel ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=60ad392bb4624d00692388ed ) *created* an issue

Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-2075?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 ) IDP-2075 ( https://shibboleth.atlassian.net/browse/IDP-2075?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 ) IdP logs message at WARN when attribute filter returns no values after filtering ( https://shibboleth.atlassian.net/browse/IDP-2075?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 4.3.0 Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Components: Attribute Filter Created: 21/Feb/23 7:41 PM Priority: Trivial Reporter: Keith Wessel ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=60ad392bb4624d00692388ed )

When an attribute filter returns no values, the message logged is at WARN level. I’ve had these suppressed for a while in my logging config, but another campus asked me about them today, and that’s when I realized they were still there.

2023-02-21 18:30:34,829 - DEBUG [net.shibboleth.idp.attribute.filter.AttributeRule:183] - Attribute filtering engine '/AttributeFilterPolicyGroup:ShibbolethFilterPolicy/AttributeRule:_8378fa026a937803a00d7ff943601d90' Filtering values for attribute 'displayName' which currently contains 1 values

2023-02-21 18:30:34,830 - WARN [net.shibboleth.idp.attribute.filter.AttributeRule:190] - Attribute filtering engine '/AttributeFilterPolicyGroup:ShibbolethFilterPolicy/AttributeRule:_8378fa026a937803a00d7ff943601d90' Filter failed. No values released for attribute 'displayName'

This seems like a rather common situation, and it’s easy to argue that the second message should be logged at DEBUG instead of WARN.

( https://shibboleth.atlassian.net/browse/IDP-2075#add-comment?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2075#add-comment?atlOrigin=eyJpIjoiYmIzMDIwM2RiNzcwNGVmMmE0NjczZjQzMjQ1OWI4NzYiLCJwIjoiaiJ9 )

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#100216- sha1:64a4cf6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230222/06b2b9a5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-c671542b-a040-47ce-a771-f8c5b1eb0196
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230222/06b2b9a5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-f116b6b4-921b-4c44-b72b-3c1692eb463c
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230222/06b2b9a5/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-ad617db6-b4f4-4c93-af4e-1a383c3554de
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230222/06b2b9a5/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-fa2aec0a-09e6-47a8-903c-233b7342da6c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230222/06b2b9a5/attachment-0007.png>


More information about the commits mailing list