Sample migration
The Spring Security team has created a sample project illustrating all of the changes when migrating from 3.x to 4.x and has made the project available on GitHub.
The sample includes both XML and JavaConfig examples and can be found at https://github.com/spring-projects/spring-security-migrate-3-to-4/.
Enhancements in Spring Security 4.2
There are quite a few notable changes in Spring Security 4.2, and this release also brings early support for Spring Framework 5. You can find the changelogs for 4.2.0.M1, 4.2.0.RC1, and 4.2.0.RELEASE, which covers over 80 issues. The community contributed the overwhelming majority of these features.
Significant enhancements in Spring Security 4.2, improved since Spring Security 3 include the following features and their support numbers:
Web improvements:
The following items are related to Spring Security's interaction with Web-based applications:
- #3812: Jackson support
- #4116: Referrer policy
- #3938: Added HTTP response splitting prevention
- #3949: Added...