From 39fee20f9c1a70d95ab3bbede63b2393879844db Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Fri, 10 Apr 2015 00:18:50 +0800 Subject: [PATCH] Update 71.1. Switch off the Spring Boot security configuration.md --- .../71.1. Switch off the Spring Boot security configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IX. ‘How-to’ guides/71.1. Switch off the Spring Boot security configuration.md b/IX. ‘How-to’ guides/71.1. Switch off the Spring Boot security configuration.md index e69de29..bcc87a8 100644 --- a/IX. ‘How-to’ guides/71.1. Switch off the Spring Boot security configuration.md +++ b/IX. ‘How-to’ guides/71.1. Switch off the Spring Boot security configuration.md @@ -0,0 +1,4 @@ + +### 71.1. 关闭Spring Boot安全配置 + +不管你在应用的什么地方定义了一个使用`@EnableWebSecurity`注解的`@Configuration`,它将会关闭Spring Boot中的默认webapp安全设置。想要调整默认值,你可以尝试设置`security.*`属性(具体查看[SecurityProperties](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java)和[常见应用属性](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#common-application-properties-security)的SECURITY章节)。