Remove EnableWebMvcSecurity
Closes gh-17294 Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
committed by
Josh Cummings
parent
19e88f5e35
commit
a439bc65d6
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user