|
@@ -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]
|
|
----
|
|
----
|