File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/oronaminc/join/websocket/config Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1010import org .springframework .web .socket .config .annotation .WebSocketMessageBrokerConfigurer ;
1111import org .springframework .web .socket .config .annotation .WebSocketTransportRegistration ;
1212import org .springframework .web .socket .handler .WebSocketHandlerDecoratorFactory ;
13- import org .springframework .web .socket .server .support .HttpSessionHandshakeInterceptor ;
1413
1514import com .oronaminc .join .websocket .handshake .CustomHandshakeHandler ;
1615import com .oronaminc .join .websocket .session .CustomWebSocketHandlerDecorator ;
@@ -50,9 +49,9 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
5049 registry .addEndpoint ("/ws" )
5150 .setAllowedOriginPatterns ("*" )
5251 // websocket 연결 전 쿠키 체크
53- .addInterceptors (new HttpSessionHandshakeInterceptor ())
52+ // .addInterceptors(new HttpSessionHandshakeInterceptor())
5453 // websocket 연결 후 principal 생성
55- .setHandshakeHandler (handshakeHandler )
54+ // .setHandshakeHandler(handshakeHandler)
5655 .withSockJS ();
5756
5857 registry .addEndpoint ("/ws" )
You can’t perform that action at this time.
0 commit comments