Merge branch '5.8.x'

This commit is contained in:
Steve Riesenberg 2022-11-16 16:54:32 -06:00
commit 222f8ae1a5
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ import org.springframework.context.annotation.Import;
* public class WebSocketSecurityConfig {
*
* @Bean
* AuthorizationManager<Message<?>> (MessageMatcherDelegatingAuthorizationManager.Builder messages) {
* AuthorizationManager<Message<?>> authorizationManager(MessageMatcherDelegatingAuthorizationManager.Builder messages) {
* messages.simpDestMatchers("/user/queue/errors").permitAll()
* .simpDestMatchers("/admin/**").hasRole("ADMIN")
* .anyMessage().authenticated();