Skip to content

Commit

Permalink
Fix code snippets in Authorize HttpServletRequest
Browse files Browse the repository at this point in the history
Closes gh-11522
  • Loading branch information
marcusdacoregio committed May 2, 2023
1 parent 5632469 commit 6d37ca1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down Expand Up @@ -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" />
Expand Down

0 comments on commit 6d37ca1

Please sign in to comment.