Skip to content

Commit

Permalink
Fix method call example on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhashimoto authored and jzheaux committed Jun 24, 2022
1 parent 7841827 commit 11a74a2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -161,7 +161,7 @@ Or you can provide it for all requests as seen below:
SecurityFilterChain web(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests((authorize) -> authorize
.anyRequest.access(new CustomAuthorizationManager());
.anyRequest().access(new CustomAuthorizationManager());
)
// ...
Expand All @@ -183,7 +183,7 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests((authorize) -> authorize
.shouldFilterAllDispatcherTypes(false)
.anyRequest.authenticated()
.anyRequest().authenticated()
)
// ...
Expand Down

0 comments on commit 11a74a2

Please sign in to comment.