소스 검색

Fix code snippets in Authorize HttpServletRequest

Closes gh-11522
Marcus Da Coregio 2 년 전
부모
커밋
6d37ca1808
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      docs/modules/ROOT/pages/servlet/authorization/authorize-requests.adoc

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

@@ -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" />