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.
1 parent 2e92dad commit 4154ed5Copy full SHA for 4154ed5
docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc
@@ -211,7 +211,7 @@ You could refer to the method using:
211
----
212
http
213
.authorizeHttpRequests(authorize -> authorize
214
- .requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
+ .requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
215
...
216
);
217
0 commit comments