We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ad9128 + 4154ed5 commit b22dd9aCopy full SHA for b22dd9a
docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc
@@ -210,7 +210,7 @@ You could then refer to the method as follows:
210
----
211
http
212
.authorizeHttpRequests(authorize -> authorize
213
- .requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
+ .requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
214
...
215
);
216
0 commit comments