EduGain Metadata integration

Ian Young ian at iay.org.uk
Wed May 24 13:31:01 EDT 2017


> On 24 May 2017, at 16:08, Alan Buxey <alan.buxey at myunidays.com> wrote:
> 
> okay, so the older 0.8.0 version only worked with openjdk 1.7 (wouldnt
> work with openjdk 1.8.0 or Sun Java 8 - due to the Spring changes)

I don't think that's right. There's no reason the 0.8 series should not work with more recent versions of Java than it was built with under. This is not, as far as I know, a Spring issue.


> the newer 0.9.2 wont work with this stuff because the config/mda.xml
> some (lots of?) changes to align with the API adds/removes/changes -
> this file is in the "eduGAIN-Metadata-Processing.zip" archive that you
> download - thus that file needs a refresh.

That's the essential issue here: if you have a configuration file written for MDA 0.8.x, it will often need to be adjusted for 0.9.x as there were a number of API changes made to bring it more into line with our current API standards. That process will continue until we get to 1.0.

I don't see any reason why an old 0.8-generation configuration file would not work today if you download a copy of the most recent 0.8.x release and ran it under Java 8. Of course you wouldn't want to stop there, as 0.8 is unsupported at this point, but it should get you started.


> am now just dealing with
> 
> 2017-05-24 11:10:48,132 [main] WARN
> net.shibboleth.utilities.java.support.xml.SchemaBuilder - XML Parsing
> Error
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read
> schema document 'xmldsig-core-schema.xsd', because 1) could not find
> the document; 2) the document could not be read; 3) the root element
> of the document is not <xsd:schema>.


I don't have time just now to look more closely, but this is probably to do with schema ordering, which was indeed something people needed to take care of due to some changes in the java-support package if I recall correctly. It's been a while.

One place to look for examples in this area is the wiki:

https://wiki.shibboleth.net/confluence/display/MA1/Configuration+Examples <https://wiki.shibboleth.net/confluence/display/MA1/Configuration+Examples>

specifically

https://wiki.shibboleth.net/confluence/display/MA1/Example%3A+Aggregate+and+Republish <https://wiki.shibboleth.net/confluence/display/MA1/Example:+Aggregate+and+Republish>

If you'd like a more comprehensive example, try this:

https://github.com/ukf/ukf-meta/blob/master/mdx/common-beans.xml#L758-L870 <https://github.com/ukf/ukf-meta/blob/master/mdx/common-beans.xml#L758-L870>

The schema files referenced there (which are normally the originals with tweaks so that they don't use web URLs at run time) are here:

https://github.com/ukf/ukf-meta/tree/master/mdx/schema <https://github.com/ukf/ukf-meta/tree/master/mdx/schema>

Hope that helps. If you can get to the point where you have something that works, this seems to come up enough that I would consider doing a bit of a tidy and adding this as another example in the wiki. That would mean I'd be able to test it as part of new releases.

Cheers.

    -- Ian (MDA lead developer)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170524/81180a94/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20170524/81180a94/attachment.p7s>


More information about the users mailing list