spring_reference/IX. ‘How-to’ guides/71.1. Switch off the Spring...

641 B
Raw Blame History

71.1. 关闭Spring Boot安全配置

不管你在应用的什么地方定义了一个使用@EnableWebSecurity注解的@Configuration它将会关闭Spring Boot中的默认webapp安全设置。想要调整默认值你可以尝试设置security.*属性(具体查看SecurityProperties常见应用属性的SECURITY章节