Skip to content

saml2-service-provider: OpenSaml4AuthenticationProvider has Java 11 bytecode #9731

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

Closed
handcraftedbits opened this issue May 7, 2021 · 1 comment
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@handcraftedbits
Copy link

Describe the bug
In contrast to the rest of the classes in spring-security-saml2-service-provider-5.5.0*.jar, OpenSaml4AuthenticationProvider and OpenSaml4AuthenticationRequestFactory contain Java 11 bytecode. These classes are the replacement for OpenSamlAuthenticationProvider and OpenSamlAuthenticationRequestFactory, but users on JVMs < 11 can't use them.

To Reproduce
Attempt to use one of the listed classes on a JVM < 11.

Expected behavior
These classes should be usable on Java 8 JVMs since everything else in the library is.

@handcraftedbits handcraftedbits added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels May 7, 2021
@eleftherias eleftherias self-assigned this May 7, 2021
@eleftherias
Copy link
Contributor

Hi @handcraftedbits, Spring Security's runtime baseline is JDK 8, and it remains that way. However since OpenSAML 4's runtime baseline is JDK 11, an application that uses OpenSAML 4 will need to run with JDK 11.

See gh-9095 for more details and specifically this comment.

@eleftherias eleftherias added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants