Commit 409f1601 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.3.x'

parents b86241ca a2207172
...@@ -2316,7 +2316,11 @@ The basic features you get out of the box in a web application are: ...@@ -2316,7 +2316,11 @@ The basic features you get out of the box in a web application are:
All of the above can be switched on and off or modified using external properties All of the above can be switched on and off or modified using external properties
(`+security.*+`). To override the access rules without changing any other auto-configured (`+security.*+`). To override the access rules without changing any other auto-configured
features add a `@Bean` of type `WebSecurityConfigurerAdapter` with features add a `@Bean` of type `WebSecurityConfigurerAdapter` with
`@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)`. `@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)` and configure it to meet your needs.
NOTE: By default, a `WebSecurityConfigurerAdapter` will match any path. If you don't want
to completely override Spring Boot's auto-configured access rules, your adapter must
explicitly configure the paths that you do want to override.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment