Browse Source

SEC-2952: Document Spring Security leveraging WebMvcConfigurerAdapter

Rob Winch 10 năm trước cách đây
mục cha
commit
600927def6
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      docs/manual/src/docs/asciidoc/index.adoc

+ 3 - 1
docs/manual/src/docs/asciidoc/index.adoc

@@ -6085,10 +6085,12 @@ Spring Security provides a number of optional integrations with Spring MVC. This
 [[mvc-enablewebmvcsecurity]]
 === @EnableWebMvcSecurity
 
-WARN: As of Spring Security 4.0, `@EnableWebMvcSecurity` is deprecated. The replacement is `@EnableWebSecurity` which will determine adding the Spring MVC features based upon the classpath.
+NOTE: As of Spring Security 4.0, `@EnableWebMvcSecurity` is deprecated. The replacement is `@EnableWebSecurity` which will determine adding the Spring MVC features based upon the classpath.
 
 To enable Spring Security integration with Spring MVC add the `@EnableWebSecurity` annotation to your configuration.
 
+NOTE: Spring Security provides the configuration using Spring MVC's http://docs.spring.io/spring-framework/docs/4.1.x/spring-framework-reference/htmlsingle/#mvc-config-customize[WebMvcConfigurerAdapter]. This means that if you are using more advanced options, like integrating with `WebMvcConfigurationSupport` directly, then you will need to manually provide the Spring Security configuration.
+
 
 [[mvc-authentication-principal]]
 === @AuthenticationPrincipal