소스 검색

Fix incorrect documentation

username1103 2 년 전
부모
커밋
14b328e3ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc

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

@@ -562,8 +562,8 @@ http
 ----
 http {
     authorizeHttpRequests {
-        authorize(DispatcherType.FORWARD, permitAll)
-        authorize(DispatcherType.ERROR, permitAll)
+        authorize(DispatcherTypeRequestMatcher(DispatcherType.FORWARD), permitAll)
+        authorize(DispatcherTypeRequestMatcher(DispatcherType.ERROR), permitAll)
         authorize("/endpoint", permitAll)
         authorize(anyRequest, denyAll)
     }