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

Spring Security samples with XML configuration not working as its web.xml is pointing to old servelet 2.5 & 3.0 #346

Open
Rahman14354 opened this issue Feb 17, 2025 · 0 comments

Comments

@Rahman14354
Copy link

It seems that there is a significant issue regarding the compatibility of the Spring Security samples with XML configuration. Currently, the samples are not functioning as intended with the existing XML configuration, and it has come to our attention that the web.xml file has not been updated to meet the necessary requirements for Servlet 6, which is essential for proper functionality.

In light of these circumstances, it would be prudent to discuss the possibility of updating the sample applications. By doing so, we can ensure that they are compatible with XML configuration, thereby enhancing their usability and effectiveness.

This update would not only address the current incompatibility issues but also align the applications with the latest standards and requirements.

Ref:
contacts Sample App
https://github.com/spring-projects/spring-security-samples/blob/main/servlet/xml/java/contacts/src/main/webapp/WEB-INF/web.xml
(Pointing to servelet 2.5)

helloworld Sample App
https://github.com/spring-projects/spring-security-samples/blob/main/servlet/xml/java/helloworld/src/main/webapp/WEB-INF/web.xml(Pointing to servelet 3.0)

preauth Sample App
https://github.com/spring-projects/spring-security-samples/blob/main/servlet/xml/java/preauth/src/main/webapp/WEB-INF/web.xml
(Pointing to servelet 2.5)

saml2 Sample App
https://github.com/spring-projects/spring-security-samples/blob/main/servlet/xml/java/saml2/login-logout/src/main/webapp/WEB-INF/web.xml
(Pointing to servelet 3.0)

Thanks
Syed Riazur Rahman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant