mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
docs, change name of class in multiple httpSecurity
This commit is contained in:
parent
2056834432
commit
646f257e01
@ -1081,7 +1081,7 @@ public BCryptPasswordEncoder passwordEncoder() {
|
|||||||
== Multiple HttpSecurity
|
== Multiple HttpSecurity
|
||||||
|
|
||||||
We can configure multiple HttpSecurity instances just as we can have multiple `<http>` blocks.
|
We can configure multiple HttpSecurity instances just as we can have multiple `<http>` blocks.
|
||||||
The key is to extend the `WebSecurityConfigurationAdapter` multiple times.
|
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/`.
|
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