Comment From: marcusdacoregio
https://github.com/spring-projects/spring-security/wiki/Spring-Security-6.0-Migration-Guide