OpenSAML - Java compatibility (9, 10, 11?)

Ian Young ian at iay.org.uk
Fri Oct 12 11:49:53 EDT 2018



> On 12 Oct 2018, at 15:43, Cristi Chircu <cristian.chircu at gmail.com> wrote:
> 
> Hello everyone, 
> 
> I've been using OpenSAML 3.3.0  <https://mvnrepository.com/artifact/org.opensaml/opensaml-core/3.3.0>for a java 8 service provider and it made my life a lot easier (thanks for sharing, by the way :) ). 
> Now I'm trying to upgrade to java 10 and it looks like I'm out of luck. When I try to deploy I get an exception: "java.lang.module.ResolutionException: Modules opensaml.saml.impl and opensaml.saml.api export package org.opensaml.saml.config to module jersey.client".

I'm guessing that you are trying to put OpenSAML on the Java module path rather than on the classpath. We don't support that at present.

> I've searched around for a bit and I can't seem to find clear information on your plans for newer java versions support.

We have a page describing our approach here:

https://wiki.shibboleth.net/confluence/display/DEV/Java+Modularity

You will be aware that we recently released a new version of the Shibboleth IdP, and in conjunction with that a new version of OpenSAML. These versions include reserved module names for the various components, and it's _possible_ that may help with the issue you're seeing. As before, though, no guarantees at this stage because we don't support use of the module path yet (we're aware of some split packages, although I don't think the one you've come across was one I was aware of).


> I would like to know when you are planning to release a version that works with java 11 (since it's the newest LTS version)

The IdP (which uses OpenSAML) works just fine under Java 11. Use the classpath, not the module path.


> and what will your approach be regarding Oracles change to their release strategy (will you support all versions? will you support all LTS versions?). 

For more information:

https://wiki.shibboleth.net/confluence/display/DEV/Product+Platforms


    -- Ian




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20181012/be028aba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3870 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/dev/attachments/20181012/be028aba/attachment.p7s>


More information about the dev mailing list