File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
backend/src/main/java/com/deliveranything/global/config Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 2727import org .springframework .messaging .support .ChannelInterceptor ;
2828import org .springframework .messaging .support .MessageHeaderAccessor ;
2929import org .springframework .security .authentication .UsernamePasswordAuthenticationToken ;
30+ import org .springframework .security .config .annotation .web .socket .EnableWebSocketSecurity ;
3031import org .springframework .security .core .Authentication ;
3132import org .springframework .security .core .GrantedAuthority ;
3233import org .springframework .security .core .userdetails .UserDetails ;
3738@ Slf4j
3839@ Configuration
3940@ EnableWebSocketMessageBroker
41+ @ EnableWebSocketSecurity
4042@ RequiredArgsConstructor
4143public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
4244
You can’t perform that action at this time.
0 commit comments