Skip to content

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

@w3blogfr

Description

@w3blogfr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions