Skip to content

Commit b22dd9a

Browse files
committed
Merge branch '5.8.x' into 6.0.x
2 parents 8ad9128 + 4154ed5 commit b22dd9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ You could then refer to the method as follows:
210210
----
211211
http
212212
.authorizeHttpRequests(authorize -> authorize
213-
.requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
213+
.requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
214214
...
215215
);
216216
----

0 commit comments

Comments
 (0)