mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-13 13:53:29 +00:00
Fix typo in the doc in 5.7 Multiple HttpSecurity
This commit is contained in:
parent
0db94b1d36
commit
a88035196a
@ -944,7 +944,7 @@ public BCryptPasswordEncoder passwordEncoder() {
|
|||||||
|
|
||||||
=== Multiple HttpSecurity
|
=== Multiple HttpSecurity
|
||||||
|
|
||||||
We can configure multiple HttpSecurity instances just as we can have multiple `<http>` blocks. The key is to extend the `WebSecurityConfigurationAdapter` multiple times. For example, the following is an example of having a different configuration for URL's that start with `/api/`.
|
We can configure multiple HttpSecurity instances just as we can have multiple `<http>` blocks. The key is to extend the `WebSecurityConfigurerAdapter` multiple times. For example, the following is an example of having a different configuration for URL's that start with `/api/`.
|
||||||
|
|
||||||
[source,java]
|
[source,java]
|
||||||
----
|
----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user