Publishing IdP's metadata?

Jeremy Morton jez9999 at gmail.com
Thu Feb 5 12:39:33 EST 2015


Benjamin:
Yep, making that change (INSIDE THE idp.war FILE, NOT THE OTHER
metadata.jsp) fixed it for me too.

Scott:
Where should I file this one?

Best regards,
Jeremy Morton (Jez)

On Thu, Feb 5, 2015 at 4:51 PM, Benjamin Cherian <
benjamin.cherian at villanova.edu> wrote:

>   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>
> Reply-To: Shib Users <users at shibboleth.net>
> Date: Thursday, February 5, 2015 at 10:57 AM
> To: Shib Users <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>
> wrote:
>
>> * Jeremy Morton <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
>>
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150205/194150d9/attachment.html 


More information about the users mailing list