1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Remove EnableWebMvcSecurity

Closes gh-17294

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan
2025-06-19 23:52:06 +07:00
committed by Josh Cummings
parent 19e88f5e35
commit a439bc65d6
4 changed files with 3 additions and 75 deletions
@@ -4,14 +4,8 @@
Spring Security provides a number of optional integrations with Spring MVC.
This section covers the integration in further detail.
[[mvc-enablewebmvcsecurity]]
== @EnableWebMvcSecurity
[NOTE]
====
As of Spring Security 4.0, `@EnableWebMvcSecurity` is deprecated.
The replacement is `@EnableWebSecurity`, which adds the Spring MVC features, based upon the classpath.
====
[[mvc-enablewebsecurity]]
== @EnableWebSecurity
To enable Spring Security integration with Spring MVC, add the `@EnableWebSecurity` annotation to your configuration.