This guide is intended to help users migrate from Spring Security 3.x to Spring Security 4.x when using XML based configuration. If you are looking to migrate from Spring Security 3.x to Spring Security 4.x when using Java Based configuration, click here As exploits against applications evolve, so must Spring Security. As a major release version, the Spring Security team took the opportunity to ma