Publishing IdP's metadata?
Benjamin Cherian
benjamin.cherian at villanova.edu
Thu Feb 5 11:51:07 EST 2015
The XML is rendered via a JSP. I ran into the same issue during testing of IdP 3 and fixed it by editing WEB-INF/jsp/metadata.jsp so the top 3 lines looks like this
<%@ page import="org.springframework.web.context.WebApplicationContext" %><%
%><%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %><%
%><%
final WebApplicationContext springContext =
That removed the lines before the start of the XML and the error messages.
-Ben
From: Jeremy Morton <jez9999 at gmail.com<mailto:jez9999 at gmail.com>>
Reply-To: Shib Users <users at shibboleth.net<mailto:users at shibboleth.net>>
Date: Thursday, February 5, 2015 at 10:57 AM
To: Shib Users <users at shibboleth.net<mailto:users at shibboleth.net>>
Subject: Re: Publishing IdP's metadata?
I'm using the Windows version of Shibboleth, bundled with the IdP, available at http://shibboleth.net/downloads/identity-provider/latest/. My file is at: C:\Program Files (x86)\Shibboleth\IdP\metadata\idp-metadata.xml
The file has no newlines at the beginning. The output served up by /idp/shibboleth has two.
Best regards,
Jeremy Morton (Jez)
On Thu, Feb 5, 2015 at 3:53 PM, Peter Schober <peter.schober at univie.ac.at<mailto:peter.schober at univie.ac.at>> wrote:
* Jeremy Morton <jez9999 at gmail.com<mailto:jez9999 at gmail.com>> [2015-02-05 16:47]:
> Yeah but for testing purposes I just need a quick way for my SP to get at
> that data via HTTP(S). Thanks. However, there is still a problem with
> /idp/shibboleth - the <?xml... has two newlines in front of it, which is
> invalid XML. Can this be fixed?
That URI should just serve up the file at
/opt/shibboleth-idp/metadata/idp-metadata.xml
What version of the IDP are you setting up?
Use $EDITOR to tune that file as desired.
-peter
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150205/9be780b0/attachment-0001.html
More information about the users
mailing list