[JIRA] (IDP-1869) Investigate a new IdPAttributeValue type to handle scope variables

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Oct 13 13:32:56 UTC 2021


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *created* an issue

Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiNzc4NWRjMjhjMGNjNDRkOWFlNWQyMGJkZDI0Yzk5MTIiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/IDP-1869?atlOrigin=eyJpIjoiNzc4NWRjMjhjMGNjNDRkOWFlNWQyMGJkZDI0Yzk5MTIiLCJwIjoiaiJ9 ) IDP-1869 ( https://shibboleth.atlassian.net/browse/IDP-1869?atlOrigin=eyJpIjoiNzc4NWRjMjhjMGNjNDRkOWFlNWQyMGJkZDI0Yzk5MTIiLCJwIjoiaiJ9 ) Investigate a new IdPAttributeValue type to handle scope variables ( https://shibboleth.atlassian.net/browse/IDP-1869?atlOrigin=eyJpIjoiNzc4NWRjMjhjMGNjNDRkOWFlNWQyMGJkZDI0Yzk5MTIiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Components: Attribute Filter, Attribute Resolver, Atttribute Transcoding Created: 13/Oct/21 9:32 AM Fix Versions: 4.2.0 Priority: Trivial Reporter: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 )

As touched on in IDP-1868 ( https://shibboleth.atlassian.net/browse/IDP-1868 ) Reopened we are still getting bitten by the ill-advised inheritance of ScopedStringAttributeValue from StringAttributeValue - the issue being that you need to check to se if an objects is the former before the latter because the former infers the latter.

It would be nice to get rid of that in V5. A plan would be

* Introduce an entirely new ScopeAttributeValue which does not inherit.
* Rejig all our code to prefer this type (but handle both)
* Add a deprecation to the old ScopedStringAttributeValue

Any of these stages might fail but its a test worth doing

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

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#100181- sha1:4b5d772 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/08e1f898/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-0e9a55ff-af76-43c8-bbd3-3263a6e68288
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/08e1f898/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-13f33098-e484-4850-87b0-92cfb95b4376
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/08e1f898/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-d78ce1c5-d367-4e02-aef3-29f24a0bb114
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/08e1f898/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-dd1b421a-002a-433a-a3bb-b0bf38a2c524
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/08e1f898/attachment-0007.png>


More information about the commits mailing list