Fix code snippets in Authorize HttpServletRequest

Closes gh-11522
This commit is contained in:
Marcus Da Coregio 2023-05-02 16:06:27 -03:00
parent 5632469a90
commit 6d37ca1808
1 changed files with 3 additions and 2 deletions

View File

@ -163,8 +163,9 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
return http.build();
}
----
.XML
[source,xml]
[source,xml,role="secondary"]
----
<http once-per-request="false">
<intercept-url pattern="/**" access="authenticated"/>
@ -193,7 +194,7 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
}
----
.XML
[source,xml]
[source,xml,role="secondary"]
----
<http auto-config="true" once-per-request="false">
<intercept-url request-matcher-ref="dispatcherTypeMatcher" access="permitAll" />