Skip to content

Commit 14b328e

Browse files
username1103marcusdacoregio
authored andcommitted
Fix incorrect documentation
1 parent 3cff9ff commit 14b328e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ http
562562
----
563563
http {
564564
authorizeHttpRequests {
565-
authorize(DispatcherType.FORWARD, permitAll)
566-
authorize(DispatcherType.ERROR, permitAll)
565+
authorize(DispatcherTypeRequestMatcher(DispatcherType.FORWARD), permitAll)
566+
authorize(DispatcherTypeRequestMatcher(DispatcherType.ERROR), permitAll)
567567
authorize("/endpoint", permitAll)
568568
authorize(anyRequest, denyAll)
569569
}

0 commit comments

Comments
 (0)