mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-02-08 22:44:35 +00:00
Update authorize-http-requests.adoc
Comma added for java configuration Signed-off-by: Vyacheslav <43342280+cmmttd@users.noreply.github.com>
This commit is contained in:
parent
55ab498518
commit
e029b3ac6f
@ -192,7 +192,7 @@ public SecurityFilterChain web(HttpSecurity http) throws Exception {
|
||||
.authorizeHttpRequests((authorize) -> authorize
|
||||
.requestMatchers("/endpoint").hasAuthority("USER")
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
);
|
||||
// ...
|
||||
|
||||
return http.build();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user