[JIRA] (IDP-2101) Change flow tests to use the same ApplicationContext that the IdP uses
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Tue May 9 10:12:07 UTC 2023
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/IDP-2101?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 ) IDP-2101 ( https://shibboleth.atlassian.net/browse/IDP-2101?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 ) Change flow tests to use the same ApplicationContext that the IdP uses ( https://shibboleth.atlassian.net/browse/IDP-2101?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 )
Issue Type: Task Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Created: 09/May/23 6:12 AM Priority: High Reporter: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 )
As I was investigating https://shibboleth.atlassian.net/browse/IDP-2099 I realized that the ApplicationContext that spring uses to load stuff is a common-or-garden GenericlApplicationContext, whereas the IdP uses a specially tailored ApplicationContext {{net.shibboleth.shared.spring.context.DelimiterAwareApplicationContext}}which embeds all sort of stuff that we need to load out configuration files correctly.
I have worked out how to make a GenericApplicationContext do enough stuff to allow me to close https://shibboleth.atlassian.net/browse/IDP-2099 but life would be a lot better if the webflow tests used as much of the same code as the IdP - and the Application Context is an important place to start.
our AC diverges from the GAC at a fairly fundatmental lever so we cannot use any of the Loaders that Spring provide (and in the web case the AC is summoned up in an entirely separate manner unrelated to a Spring Loader (or SmartLoader).
This case is for me to bottom this out.
( https://shibboleth.atlassian.net/browse/IDP-2101#add-comment?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2101#add-comment?atlOrigin=eyJpIjoiZjJmOWFkNTEyYTZmNDk5NWJmYTcyMGFmMzEyZTI2MTkiLCJwIjoiaiJ9 )
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#100225- sha1:b79b7f6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/9e5107bb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-f89aebad-4ece-4521-b81b-b87de107c95a
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/9e5107bb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-high-58293c47-491e-4c4e-85a8-971c4f443282
Type: image/png
Size: 256 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/9e5107bb/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-afc3d0fd-3531-4593-a0fb-190a9cd4993c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/9e5107bb/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-ab32c39d-992b-4763-ad38-fef184a543e2
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/9e5107bb/attachment-0007.png>
More information about the commits
mailing list