Browse Source

Fix formatting in reference docs

pull/11031/head
Eleftheria Stein 4 years ago
parent
commit
d4d6ddbaae
  1. 4
      docs/modules/ROOT/pages/servlet/configuration/java.adoc
  2. 2
      docs/modules/ROOT/pages/servlet/configuration/kotlin.adoc

4
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 @@ -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 `<http>` blocks.
The key is to register multiple `SecurityFilterChain` `@Bean`s.
We can configure multiple `HttpSecurity` instances just as we can have multiple `<http>` 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]

2
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 @@ -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 `<http>` 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]

Loading…
Cancel
Save