Fix formatting in reference docs
This commit is contained in:
parent
446ab5047c
commit
d4d6ddbaae
|
@ -171,8 +171,8 @@ You will notice that this configuration is quite similar the XML Namespace confi
|
||||||
|
|
||||||
== 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 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/`.
|
For example, the following is an example of having a different configuration for URL's that start with `/api/`.
|
||||||
|
|
||||||
[source,java]
|
[source,java]
|
||||||
|
|
|
@ -49,7 +49,7 @@ You will notice that this configuration is quite similar the XML Namespace confi
|
||||||
== 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 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/`.
|
For example, the following is an example of having a different configuration for URL's that start with `/api/`.
|
||||||
|
|
||||||
[source,kotlin]
|
[source,kotlin]
|
||||||
|
|
Loading…
Reference in New Issue