File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2033,7 +2033,11 @@ The basic features you get out of the box in a web application are:
2033
2033
All of the above can be switched on and off or modified using external properties
2034
2034
(`+security.*+`). To override the access rules without changing any other auto-configured
2035
2035
features add a `@Bean` of type `WebSecurityConfigurerAdapter` with
2036
- `@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)`.
2036
+ `@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)` and configure it to meet your needs.
2037
+
2038
+ NOTE: By default, a `WebSecurityConfigurerAdapter` will match any path. If you don't want
2039
+ to completely override Spring Boot's auto-configured access rules, your adapter must
2040
+ explicitly configure the paths that you do want to override.
2037
2041
2038
2042
2039
2043
You can’t perform that action at this time.
0 commit comments