-
Notifications
You must be signed in to change notification settings - Fork 6k
Provide XML namespace support for OAuth2Login #4557
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
Comments
@tiwatsuka We haven't decided whether to add XML namespace support. It definitely won't make it into 5.0 GA. We may consider it in a subsequent release. |
@jgrandja I see. I'll expect that it is finally added. Thank you for your consideration. |
@tiwatsuka Just to confirm, we will be adding XML namespace support. We'll do our best to get this in 5.1. |
So 5.2 then or not at all? I have a large existing Spring MVC project with XML configuration that I need to add OAuth to today. Can I mix the namespace and Java config? |
@pthorson This won't get into 5.2. Unless you'd be interested in submitting a PR? There are other higher priority items at the moment and there hasn't been much demand to add this support as of yet. That being said, you should be able to mix namespace and Java config - see Importing XML Configuration |
Understood. Not sure of appetite here for a PR. That being said, is OAuth 2.0 and Open ID Connect possible now without Spring Boot being used? Based on the matrix it looks like Spring Boot 1.5x was previously required. |
@pthorson The new support does not require Spring Boot (however, it is certainly easier to use with it) |
Hi, I'd like to request once again that feature. I just had to migrate our xml config for security to java config because there was no equivalent to |
@bendem Unfortunately, this support won't be added in the upcoming 5.2 release. There are other higher priority items that we're targeting for 5.2. As an FYI, we prioritize tasks based on user demand and given that there are only 2 upvotes on this issue there isn't much demand for it. This doesn't mean we won't add the support though, it just means it's on the lower priority list. |
Here is one more request :) |
Please just use 👍 on the first comment (issue description) to indicate votes. It makes it much easier for us to add that up than counting comments. Thanks :) |
One more request. |
So here's the dilemma. I use XML configuration in a non-Spring boot application. I converted it to Java Configuration and then ran into a Spring Session bug Unable to obtain SessionCookieConfig using Java based config #22319. Mixing XML with Java Configuration is doable, but not great and since both pieces here relate to the html configuration, I suspect it will break big time. So, please provide XML configuration or make sure the Java configuration is 100% compatible. |
@JimRichards22 Looks like there is demand for this feature so I've scheduled it for the 5.3 release. There is no date for it yet but likely about 9-12 months from now. |
If anyone wants to contribute the support for this, we'd be happy to add it sooner. Just ping the issue asking if you can have the issue and we will confirm. If you have questions on how to do it, let us know. |
can I have this issue ? I'm a first timer in open source though, could you guide me on how to do it? so far I had explore the codes and i came up with the following checklist on what should be modified:
if the above checklist more or less ok I will try to submit PR |
Thanks for the offer @rh-id. We typically label |
hi @jgrandja . i'm fine with either options if there are more priority issues that you think more suitable then I could help on that |
@rh-id This is an important feature and needs to get into 5.3.0. So let's work on this together. I think the best approach would be for me to put together the initial "Draft PR" and we can work from there. I'll think of an approach that will make it easy for you to implement the necessary artifacts. I'll submit the Draft PR end of week or early next week and we can go from there. Sound good? |
@jgrandja sounds good 👍 |
@rh-id If you haven't already, please get familiar with the contributing guidelines. |
For anyone who would like to try out the XML config in the snapshot build, you can find sample test configurations for the
Feedback would be greatly appreciated! |
Summary
Does it have any plan to add the way to configure OAuth2Login with XML namespace?
I think there are some projects still using XML configuration for security settings.
If we can define the beans related OAuth2Login just by setting about ClientRegistration with XML, it's very useful.
Related #5184
The text was updated successfully, but these errors were encountered: