[JIRA] (OSJ-351) Tweak AbstractEncryptedKeyResolver to be more subclass friendly.

Scott Cantor (Jira) jira at shibboleth.atlassian.net
Tue Apr 5 17:42:24 UTC 2022


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

OpenSAML - Java ( https://shibboleth.atlassian.net/browse/OSJ?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/OSJ-351?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 ) OSJ-351 ( https://shibboleth.atlassian.net/browse/OSJ-351?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 ) Tweak AbstractEncryptedKeyResolver to be more subclass friendly. ( https://shibboleth.atlassian.net/browse/OSJ-351?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) Components: Security Created: 05/Apr/22 1:42 PM Fix Versions: 4.2.0 Priority: Trivial Reporter: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 )

The AbstractEncryptedKeyResolver base class hardcodes a reference to its static recipients set, which would prevent a subclass from overriding the getRecipients method as a way of diverting the static lookup. Should go ahead and just call the getter for future-proofing.

( https://shibboleth.atlassian.net/browse/OSJ-351#add-comment?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/OSJ-351#add-comment?atlOrigin=eyJpIjoiZGU3MDc0OGI0YTA5NDQ5OThkNjhjOGY4ODkzZGVhNTkiLCJwIjoiaiJ9 )

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#100198- sha1:db0759e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220405/aa60f916/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-17dc48da-206e-4ab0-a8e6-a8f127d08826
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220405/aa60f916/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bd9329c7-ed55-45c7-bc5d-578b16cd4e5b
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220405/aa60f916/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-dc7e5577-45e7-4154-b1b9-c3a75e69a1b1
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220405/aa60f916/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-068c44e1-2039-488d-bfa3-98102de4c64f
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220405/aa60f916/attachment-0007.png>


More information about the commits mailing list