Open jacqueskpoty opened 6 months ago
What's the issue with running under java 17?
Since java 17 many of the classes in javax package are moved to jakarta. This is causing a big issue. I recently upgraded my project to Spring Boot 3.2.2 so im forced to use java 17 This upgrade makes java-saml unusable.
Java 17 itself has nothing to do with the change from Java EE to Jakarta EE.
Is there anything being done to support the change from Java EE to Jakarta EE for java-saml?
There's PR #395 open.
@mauromol Thanks. I checked and the PR has been for a year. Hopefully it will be merged soon.
This package can be easily transformed with https://github.com/eclipse/transformer and then used.
I am using this for this package and many others that don't support the jakarta migration.
https://github.com/SAML-Toolkits/java-saml/issues/349#issuecomment-2020338432 is another workaround.
How are you guys using the servlet API with the SAML library? Can you not just pass in the parameters, instead of wrapping the request? I've been using jarkarta for a while now, and that did not affect how I used saml core.
Java-saml uses javax classes, java-saml-core does not. See https://github.com/SAML-Toolkits/java-saml#the-httprequest
It'is impossible to use java-saml with java 17 at this point. Is there any work around? is the community working on releasing a new version with java 17?