Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with ChannelInterceptorAdapter #6

Open
saumyasuhagiya opened this issue Jul 4, 2017 · 1 comment
Open

Not working with ChannelInterceptorAdapter #6

saumyasuhagiya opened this issue Jul 4, 2017 · 1 comment

Comments

@saumyasuhagiya
Copy link

saumyasuhagiya commented Jul 4, 2017

I have implemented security in notification microservice by using [Web sockets with Spring and Spring Security] (https://robertleggett.wordpress.com/2015/05/27/websockets-with-spring-spring-security/)

The microservice runs super fine before integrating with spring-cloud-netflix-zuul-websocket. But after that it stopped working.

I have observed it deeply and found that spring-cloud-netflix-zuul-websocket library is sending CONNECT request's response 'CONNECTED' back from gateway only and after that it sends the request to actual micro-service for authentication.

Expected behavior is to send it for authentication first then only allow it to be CONNECTED or DISCONNECT (based on result of auth).

Any help will be appreciated .

@mthizo247
Copy link
Owner

Hi. I don't understand what you are experiencing because the CONNECT request is handled synchronously.
You can send me a sample github repo and highlight where things fail. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants