Skip to content

Commit

Permalink
Merge branch '6.1.x' into 6.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusdacoregio committed Jan 3, 2024
2 parents 7113e1b + 6c5b3d6 commit cb56d1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Java::
SecurityFilterChain web(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests((authorize) -> authorize
.requestMatchers("/endpoint").hasAuthority('USER')
.requestMatchers("/endpoint").hasAuthority("USER")
.anyRequest().authenticated()
)
// ...
Expand All @@ -205,7 +205,7 @@ Kotlin::
SecurityFilterChain web(HttpSecurity http) throws Exception {
http {
authorizeHttpRequests {
authorize("/endpoint", hasAuthority('USER'))
authorize("/endpoint", hasAuthority("USER"))
authorize(anyRequest, authenticated)
}
}
Expand Down

0 comments on commit cb56d1c

Please sign in to comment.