Update 71.1. Switch off the Spring Boot security configuration.md
parent
5c3a9d38e8
commit
39fee20f9c
|
@ -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章节)。
|
Loading…
Reference in New Issue