[JIRA] (IDP-1866) Module handling does not work when idpHome is classpath:

Scott Cantor (Jira) jira at shibboleth.atlassian.net
Tue Nov 2 20:39:13 UTC 2021


Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *commented* on IDP-1866 ( https://shibboleth.atlassian.net/browse/IDP-1866?atlOrigin=eyJpIjoiY2ExYzY4YzdiZmNhNDZjMjg0NDM2YjMyYWJlYTlkNmMiLCJwIjoiaiJ9 )

Re: Module handling does not work when idpHome is classpath: ( https://shibboleth.atlassian.net/browse/IDP-1866?atlOrigin=eyJpIjoiY2ExYzY4YzdiZmNhNDZjMjg0NDM2YjMyYWJlYTlkNmMiLCJwIjoiaiJ9 )

I wasted a bunch of time on a dumb bug but in a nutshell I think we can add some logic to detect classpath: and change some of the internals to do checks based on a ClassPathResource existing. That at least will make the isEnabled() calls work. Obviously mutating files is a different story, that’s not meant to work, but as long as that fails properly I don’t think it should be a problem. The goal is just to make the Modules as classpath-friendly as it’s possible for them to be.

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

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#100183- sha1:3381b40 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211102/445081e0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-7d904722-918f-423e-b381-ee45a75cc20c
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211102/445081e0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-0fc7aa26-09b3-4f1f-80bd-3b02c6628750
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211102/445081e0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-181df553-fd7f-4fb1-9e88-0c0757286f09
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211102/445081e0/attachment-0005.png>


More information about the commits mailing list