Skip to content

Commit 6d37ca1

Browse files
Fix code snippets in Authorize HttpServletRequest
Closes gh-11522
1 parent 5632469 commit 6d37ca1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/modules/ROOT/pages/servlet/authorization/authorize-requests.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
163163
return http.build();
164164
}
165165
----
166+
166167
.XML
167-
[source,xml]
168+
[source,xml,role="secondary"]
168169
----
169170
<http once-per-request="false">
170171
<intercept-url pattern="/**" access="authenticated"/>
@@ -193,7 +194,7 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
193194
}
194195
----
195196
.XML
196-
[source,xml]
197+
[source,xml,role="secondary"]
197198
----
198199
<http auto-config="true" once-per-request="false">
199200
<intercept-url request-matcher-ref="dispatcherTypeMatcher" access="permitAll" />

0 commit comments

Comments
 (0)