Skip to content

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

@Rahman14354

Description

@Rahman14354

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions