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