Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues Javax EE to Jakarta EE using java-saml #419

Open
jacqueskpoty opened this issue Mar 4, 2024 · 10 comments
Open

Issues Javax EE to Jakarta EE using java-saml #419

jacqueskpoty opened this issue Mar 4, 2024 · 10 comments

Comments

@jacqueskpoty
Copy link

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?

@haavar
Copy link

haavar commented Mar 4, 2024

What's the issue with running under java 17?

@jacqueskpoty
Copy link
Author

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.

@mauromol
Copy link
Contributor

mauromol commented Mar 4, 2024

Java 17 itself has nothing to do with the change from Java EE to Jakarta EE.

@jacqueskpoty
Copy link
Author

Is there anything being done to support the change from Java EE to Jakarta EE for java-saml?

@jacqueskpoty jacqueskpoty changed the title Version 17 Issues with java-saml Issues Javax EE to Jakarta EE using java-saml Mar 4, 2024
@mauromol
Copy link
Contributor

mauromol commented Mar 4, 2024

There's PR #395 open.

@jacqueskpoty
Copy link
Author

@mauromol Thanks. I checked and the PR has been for a year. Hopefully it will be merged soon.

@william00179
Copy link

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.

@paulrutter
Copy link

#349 (comment) is another workaround.

@haavar
Copy link

haavar commented Mar 26, 2024

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.

@paulrutter
Copy link

Java-saml uses javax classes, java-saml-core does not. See https://github.com/SAML-Toolkits/java-saml#the-httprequest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants