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

XML-based configuration for Spring SAML2 #9138

Closed
w8forme opened this issue Oct 19, 2020 · 9 comments
Closed

XML-based configuration for Spring SAML2 #9138

w8forme opened this issue Oct 19, 2020 · 9 comments
Assignees
Labels
in: saml2 An issue in SAML2 modules status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@w8forme
Copy link

w8forme commented Oct 19, 2020

Context

In our current project we've been using spring saml extension for a couple of years. It works fine so far except this extension isn't supported anymore. Right now we are planning to migrate to Spring Security native implementation instead of using the outdated extension. We don't have Spring Boot and all our configs for Spring Security are XML-based. Is there any information about migration for existing users and what's more important some examples of XML-based configuration without Spring Boot?

Expected Behavior

Would be awesome to have:

  • examples of XML-based based config without Spring Boot
  • migration guide for existing users of the spring saml extension.

Current Behavior

@w8forme w8forme added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Oct 19, 2020
@dawi
Copy link

dawi commented Oct 21, 2020

Looks similar to #8685.

@jgrandja jgrandja added in: saml2 An issue in SAML2 modules and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 26, 2020
@jzheaux
Copy link
Contributor

jzheaux commented Oct 26, 2020

Thanks for the suggestion, @w8forme. I'm going to close this as a duplicate of #9012, but please feel free to comment over there if you'd like to add to the conversation.

@jzheaux jzheaux closed this as completed Oct 26, 2020
@jzheaux jzheaux added the status: duplicate A duplicate of another issue label Oct 26, 2020
@gspadmapriya
Copy link

Hello, is there sample XML as we are moving from spring saml extension to spring-security 5.7.2 or 5.7.3

@marcusdacoregio
Copy link
Contributor

Hi @gspadmapriya.

Yes, there is this sample https://github.com/spring-projects/spring-security-samples/tree/5.7.x/servlet/xml/java/saml2/login-logout and also the migration guide that may help you with the migration.

@gspadmapriya
Copy link

gspadmapriya commented Aug 25, 2022 via email

@marcusdacoregio
Copy link
Contributor

For now, there is no extensive sample showing the XML configuration. The work on the migration guide and further examples are now paused since we have a lot on our plate with the upcoming major releases.

I'd suggest that you read the migration guide and also the reference docs to see the differences, if there is something that you cannot figure out, please open an issue and let's see how to improve that.

@gspadmapriya
Copy link

gspadmapriya commented Aug 25, 2022 via email

@marcusdacoregio
Copy link
Contributor

You can see an example of a RelyingPartyRegistration configuration with its certificates here, it may help you since you are having problems with conversion to a private key.

@gspadmapriya
Copy link

gspadmapriya commented Sep 1, 2022 via email

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 status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

6 participants