diff --git a/docs/modules/ROOT/pages/servlet/configuration/java.adoc b/docs/modules/ROOT/pages/servlet/configuration/java.adoc index 46075b7530..8c440d5dde 100644 --- a/docs/modules/ROOT/pages/servlet/configuration/java.adoc +++ b/docs/modules/ROOT/pages/servlet/configuration/java.adoc @@ -171,8 +171,8 @@ You will notice that this configuration is quite similar the XML Namespace confi == Multiple HttpSecurity -We can configure multiple HttpSecurity instances just as we can have multiple `` blocks. -The key is to register multiple `SecurityFilterChain` `@Bean`s. +We can configure multiple `HttpSecurity` instances just as we can have multiple `` blocks. +The key is to register multiple `SecurityFilterChain` ``@Bean``s. For example, the following is an example of having a different configuration for URL's that start with `/api/`. [source,java] diff --git a/docs/modules/ROOT/pages/servlet/configuration/kotlin.adoc b/docs/modules/ROOT/pages/servlet/configuration/kotlin.adoc index a7ff2d2ff5..06861efa29 100644 --- a/docs/modules/ROOT/pages/servlet/configuration/kotlin.adoc +++ b/docs/modules/ROOT/pages/servlet/configuration/kotlin.adoc @@ -49,7 +49,7 @@ You will notice that this configuration is quite similar the XML Namespace confi == Multiple HttpSecurity We can configure multiple HttpSecurity instances just as we can have multiple `` blocks. -The key is to register multiple `SecurityFilterChain` `@Bean`s. +The key is to register multiple `SecurityFilterChain` ``@Bean``s. For example, the following is an example of having a different configuration for URL's that start with `/api/`. [source,kotlin]