[JIRA] (IDP-1870) Detect duplicate entityIDs when ingesting metadata
Matthew Slowe (Jira)
jira at shibboleth.atlassian.net
Wed Oct 13 14:32:11 UTC 2021
Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/IDP-1870?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 ) IDP-1870 ( https://shibboleth.atlassian.net/browse/IDP-1870?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 ) Detect duplicate entityIDs when ingesting metadata ( https://shibboleth.atlassian.net/browse/IDP-1870?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 )
Issue Type: Improvement Assignee: Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) Components: Metadata Created: 13/Oct/21 10:32 AM Priority: Trivial Reporter: Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 )
When using either FilesystemMetadataProvider or FileBackedHTTPMetadataProvider it's possible to (accidentally?) load two different blobs of metadata with the same entityID which is not allowed.
There's then a chance that the "wrong" metadata will be queried during a flow leading to confusing errors and unexpected behaviour.
When such metadata is loaded, any entityIDs should be checked for duplication and a warning/error raised.
( https://shibboleth.atlassian.net/browse/IDP-1870#add-comment?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1870#add-comment?atlOrigin=eyJpIjoiMTI1MTIwYWYzMmMyNGI4YzlkOWU3NzkxY2EzNzU5MWQiLCJwIjoiaiJ9 )
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/55d17dac/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-71a8d3bd-5d33-4d8c-ab0c-6908aa181954
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/55d17dac/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-c1f03735-41a2-4f87-803b-75e0efdf6902
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/55d17dac/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-7b1a2522-54fa-42dc-a7e0-843ed65bdf1e
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/55d17dac/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-c41c65be-c40c-47a0-9f61-5e53c3ecaaa4
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211013/55d17dac/attachment-0007.png>
More information about the commits
mailing list