Spring Security without the WebSecurityConfigurerAdapter
<p>In Spring Security 5.7.0-M2 we <a href="https://github.com/spring-projects/spring-security/issues/10822">deprecated</a> the <code>WebSecurityConfigurerAdapter</code>, as we encourage users to move towards a component-based security configuration.</p> <p
spring.io
https://github.com/spring-projects/spring-security/issues/10822
Deprecate WebSecurityConfigurerAdapter · Issue #10822 · spring-projects/spring-security
With the following issues closed we've added the ability to configure the security of an application without needing the WebSecurityConfigurerAdapter. Related issues: #8804 #8978 #10040 #10138
github.com
https://github.com/spring-projects/spring-security/issues/10822