mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
Fix typo in Authorize HTTP Requests' Doc Page
This commit is contained in:
parent
8a34e32a24
commit
cb7fbc0794
@ -737,7 +737,7 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
|
||||
.dispatcherTypeMatchers(FORWARD, ERROR).permitAll() // <2>
|
||||
.requestMatchers("/static/**", "/signup", "/about").permitAll() // <3>
|
||||
.requestMatchers("/admin/**").hasRole("ADMIN") // <4>
|
||||
.requestMatchers("/db/**").access(allOf(hasAuthority('db'), hasRole('ADMIN'))) // <5>
|
||||
.requestMatchers("/db/**").access(allOf(hasAuthority("db"), hasRole("ADMIN"))) // <5>
|
||||
.anyRequest().denyAll() // <6>
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user