Skip to content

Commit

Permalink
Fix Javadoc in EnableWebSocketSecurity
Browse files Browse the repository at this point in the history
Add missing method name in EnableWebSocketSecurity JavaDoc code example.
  • Loading branch information
LeovR authored and sjohnr committed Nov 16, 2022
1 parent 17123a3 commit 2301e8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* 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();
Expand Down

0 comments on commit 2301e8c

Please sign in to comment.