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

Remove OpenSAML3 support #10556

Closed
marcusdacoregio opened this issue Nov 29, 2021 · 3 comments · Fixed by #11789
Closed

Remove OpenSAML3 support #10556

marcusdacoregio opened this issue Nov 29, 2021 · 3 comments · Fixed by #11789
Assignees
Labels
in: saml2 An issue in SAML2 modules type: breaks-passivity A change that breaks passivity with the previous release type: enhancement A general enhancement
Milestone

Comments

@marcusdacoregio
Copy link
Contributor

Currently, the spring-security-saml2-service-provider supports the two versions of OpenSAML: 3 and 4.

Since the classes for OpenSAML3 are already deprecated in Spring Security, we should remove them in version 6.0.

It will also simplify the version management and make it more clear for users which version to use. See #10547

@marcusdacoregio marcusdacoregio added type: enhancement A general enhancement in: saml2 An issue in SAML2 modules labels Nov 29, 2021
@marcusdacoregio marcusdacoregio added this to the 6.0.0-M1 milestone Nov 29, 2021
@marcusdacoregio marcusdacoregio self-assigned this Nov 29, 2021
@marcusdacoregio marcusdacoregio modified the milestones: 6.0.0-M1, 6.x, 6.0.0-M2 Jan 17, 2022
@marcusdacoregio marcusdacoregio modified the milestones: 6.0.0-M2, 6.x Feb 15, 2022
@rwinch rwinch modified the milestones: 6.0.x, 6.0.0-M4 Mar 25, 2022
@rwinch rwinch added the type: breaks-passivity A change that breaks passivity with the previous release label Mar 25, 2022
marcusdacoregio added a commit to marcusdacoregio/spring-security that referenced this issue May 6, 2022
@sjohnr sjohnr modified the milestones: 6.0.0-M4, 6.0.0-M5, 6.0.0-M6 May 16, 2022
@marcusdacoregio marcusdacoregio modified the milestones: 6.0.0-M6, 6.0.x Jun 2, 2022
@rwinch rwinch assigned rwinch and unassigned marcusdacoregio Jun 13, 2022
@phtyson
Copy link

phtyson commented Aug 1, 2022

The 6.0.0-M5 spring-security-saml2-service-provider pom uses opensaml 3.4.6. I had to exclude this and add opensaml4 dependencies, in order to get compatible jakarta servlet libraries (not javax.servlet). Consider updating pom to opensaml4 version.
Correction: opensaml4 AbstractHttpServletResponseMessageEncoder still wants to use javax.servlet.http.HttpServletResponse, which is a problem in java17

@marcusdacoregio
Copy link
Contributor Author

Thank you @phtyson. I've opened #11658 to track the issue.

@phtyson
Copy link

phtyson commented Aug 2, 2022

Further to my previous comment, none of the opensaml 4.x releases or snapshots work with java17. I used opensaml 5.0.0-SNAPSHOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules type: breaks-passivity A change that breaks passivity with the previous release type: enhancement A general enhancement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants