From 14b328e3edd2303d87204eb2d82b0e3a015b232e Mon Sep 17 00:00:00 2001 From: username1103 Date: Wed, 30 Aug 2023 21:57:14 +0900 Subject: [PATCH] Fix incorrect documentation --- .../pages/servlet/authorization/authorize-http-requests.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc b/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc index db0a06def4..244ff724b7 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc +++ b/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) }