Revert https://github.com/spring-projects/spring-security/commit/d5a0fa91344bb7e61e5d292e905cd43df1e9a914