You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sjohnr
changed the title
Invalid documentation
Docs example uses authorizeHttpRequests().access(String)May 26, 2022
sjohnr
changed the title
Docs example uses authorizeHttpRequests().access(String)
Docs example uses authorizeHttpRequests().mvcMatchers().access(String)May 26, 2022
sjohnr
changed the title
Docs example uses authorizeHttpRequests().mvcMatchers().access(String)
Docs example uses access(String) with authorizeHttpRequests()May 26, 2022
Hi @vbezhenar, thanks for reporting this issue! Typically, you don't need to cross-post, but I see that a community member recommended that you open an issue. We can use this issue to fix the docs, as indeed it appears to be an issue with the docs. I've submitted an answer to your question as an example of how to build your own expressions.
Documentation (Example 2) states that it's possible to write
but there's no
access(String)
method.Here's my SO question with background information: https://stackoverflow.com/questions/72366267/matching-ip-address-with-authorizehttprequests
I'm using Spring Security 5.7.1.
The text was updated successfully, but these errors were encountered: