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

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Nov 3 13:51:56 UTC 2021


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

Sadly this doesn't work. The damage is done upstream in the Initializer for the ModuleContext

public ModuleContext(@Nonnull @NotEmpty final String home) {
       idpHome = Path.of(home);
       languageRanges = Collections.emptyList();
   }

Failure:

Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 9: classpath:
	at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
	at java.base/java.nio.file.Path.of(Path.java:147)
	at net.shibboleth.idp.module.ModuleContext.<init>(ModuleContext.java:66)
	at org.apache.jsp.WEB_002dINF.jsp.status_jsp._jspService(status_jsp.java:209)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)

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

Change By: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Resolution: Fixed Status: Resolved Reopened

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

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:8e458bc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211103/6b3a57c3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-3b09e4d6-d89e-440b-ac3b-cf8f5b7968fd
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211103/6b3a57c3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-1d0e2332-fe40-42a7-b36f-4014f4c4408a
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211103/6b3a57c3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-25a0cab8-e023-4e33-91c9-9616c9fb67f5
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211103/6b3a57c3/attachment-0005.png>


More information about the commits mailing list