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

OpenSaml4AuthenticationProvider.class at spring-security-saml2-service-provider v5.8.14 compiled for jdk11 #15765

Closed
goyocasero opened this issue Sep 9, 2024 · 1 comment
Assignees
Labels
status: invalid An issue that we don't feel is valid type: bug A general bug

Comments

@goyocasero
Copy link

Describe the bug
Hi,
We're trying to use spring-security-saml2-service-provider in our JDK8 based platform, so we are accessing the 5.8.x version (we are still not able to go for the 6.x because of the jdk runtime we are using).

It seems the OpenSaml4AuthenticationProvider.class at the jar package at the central maven repository (https://repo1.maven.org/maven2/org/springframework/security/spring-security-saml2-service-provider/5.8.14/spring-security-saml2-service-provider-5.8.14.jar) has been compiled with the jdk11 version, so we're getting some jdk version errors under our application.

To Reproduce

Expected behavior
The major version of the class file should be 52 (jdk8)

@goyocasero goyocasero added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Sep 9, 2024
@marcusdacoregio
Copy link
Contributor

Hi @goyocasero. That's expected since OpenSAML 4 is built on top of Java 11. If you cannot migrate to Java 11, you should use OpenSAML 3.

@marcusdacoregio marcusdacoregio self-assigned this Sep 9, 2024
@marcusdacoregio marcusdacoregio added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid An issue that we don't feel is valid type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants