> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/ix.-how-to-guides/84.-security/84.1-switch-off-the-spring-boot-security-configuration.md).

# 84.1 关闭Spring Boot安全配置

如果你在应用里使用`WebSecurityConfigurerAdapter`定义了一个`@Configuration`，它都会关闭Spring Boot中的默认webapp安全设置。
