mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
authorizeUrls -> authorizeRequests
Replace remaining authorizeUrls with authorizeRequests Fixes gh-3875
This commit is contained in:
parent
d4218c70f1
commit
ede521dc8d
@ -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)")
|
||||
...
|
||||
----
|
||||
|
Loading…
x
Reference in New Issue
Block a user