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 c2fef844d2..298b7f8ad3 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) }