[JIRA] (IDP-1998) DynamicAttributePredicate is limited to single value inputs

Scott Cantor (Jira) jira at shibboleth.atlassian.net
Thu Aug 25 14:08:11 UTC 2022


Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *created* an issue

Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiZjk1MzI3OTNiZjAwNGQ5NThkZDE0ZGU0NjlmMDUwYjEiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/IDP-1998?atlOrigin=eyJpIjoiZjk1MzI3OTNiZjAwNGQ5NThkZDE0ZGU0NjlmMDUwYjEiLCJwIjoiaiJ9 ) IDP-1998 ( https://shibboleth.atlassian.net/browse/IDP-1998?atlOrigin=eyJpIjoiZjk1MzI3OTNiZjAwNGQ5NThkZDE0ZGU0NjlmMDUwYjEiLCJwIjoiaiJ9 ) DynamicAttributePredicate is limited to single value inputs ( https://shibboleth.atlassian.net/browse/IDP-1998?atlOrigin=eyJpIjoiZjk1MzI3OTNiZjAwNGQ5NThkZDE0ZGU0NjlmMDUwYjEiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Configuration Created: 25/Aug/22 10:08 AM Fix Versions: 4.3.0 Priority: Trivial Reporter: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 )

The DynamicAttributePredicate class has a weird limitation that requires the pluggable Function to return only a single value to match against instead of multiple. That was just a strange oversight. Fixing it will probably be a bit ugly but other parts of the code use Object and check for String or Collection<String> so it’s not that rare.

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

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#100206- sha1:9fe2ddf )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220825/e71e653a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-2b41843e-41a7-44f8-b36b-e9e3162a1472
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220825/e71e653a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-b2804d73-3599-42b3-a512-3d0904000e07
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220825/e71e653a/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-0e1eaabd-143e-4a79-af14-a7ff6c4e81d4
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220825/e71e653a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-5c3398ec-9777-4953-a033-d7586593f018
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220825/e71e653a/attachment-0007.png>


More information about the commits mailing list