authorizeUrls -> authorizeRequests
Replace remaining authorizeUrls with authorizeRequests Fixes gh-3875
This commit is contained in:
@@ -4897,7 +4897,7 @@ or in Java configuration
|
||||
[source,java]
|
||||
----
|
||||
http
|
||||
.authorizeUrls()
|
||||
.authorizeRequests()
|
||||
.antMatchers("/user/**").access("@webSecurity.check(authentication,request)")
|
||||
...
|
||||
----
|
||||
@@ -4936,7 +4936,7 @@ or in Java configuration
|
||||
[source,java]
|
||||
----
|
||||
http
|
||||
.authorizeUrls()
|
||||
.authorizeRequests()
|
||||
.antMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
|
||||
...
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user