mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Fix .access(...) parameter
This commit is contained in:
parent
2e92dad761
commit
4154ed543a
@ -211,7 +211,7 @@ You could refer to the method using:
|
|||||||
----
|
----
|
||||||
http
|
http
|
||||||
.authorizeHttpRequests(authorize -> authorize
|
.authorizeHttpRequests(authorize -> authorize
|
||||||
.requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
|
.requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
|
||||||
...
|
...
|
||||||
);
|
);
|
||||||
----
|
----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user