Skip to content

Commit

Permalink
Fix .access(...) parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
el-hopaness-romtic authored and jzheaux committed Mar 20, 2023
1 parent 2e92dad commit 4154ed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ You could refer to the method using:
----
http
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
.requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
...
);
----
Expand Down

0 comments on commit 4154ed5

Please sign in to comment.