Spring Security Preparing for 7.0 Authentication For the latest stable version, please use Spring Security 7.0.0! Authentication Changes