boot-examples icon indicating copy to clipboard operation
boot-examples copied to clipboard

Using x-auth-security to connect Web Socket Stomp with x-auth-token

Open w3blogfr opened this issue 10 years ago • 4 comments
trafficstars

Hello, I'm trying to make authentication based on your x-auth-token, but adapted for web-socket

For rest url, I'm authentificated and evrything work fine, but not for websocket.
Error is due to Filter seem to not recognize stomp header.

I try to connect via javascript. stompClient.connect({'x-auth-token':myAuthToken }, function(frame) { });

Is there anyway to filter or to add channelInterceptor on the websocket connection and to add the same validateToken method?

Thanks a lot.

w3blogfr avatar Jan 13 '15 00:01 w3blogfr

Same Issue...It their any solution for this.

DineshShende avatar Oct 31 '15 10:10 DineshShende

me too Same Issue :(

youssefbounar avatar May 06 '16 21:05 youssefbounar

Is this still valid?

wildone avatar Jan 05 '23 00:01 wildone

Is this still valid?

wildone avatar Jan 05 '23 00:01 wildone