rstoyanchev / spring-websocket-portfolio

736 stars 443 forks source link

Reject topic subscription based on user rights with IE8 - determineUser() never called #51

Closed avigadm closed 10 years ago

avigadm commented 10 years ago

I would like to reject subscription according to user permissions. I found the following solution and it helped for browsers that support websocket. https://github.com/rstoyanchev/spring-websocket-portfolio/issues/23

the solution is extending DefaultHandshakeHandler and overriding determineUser method. the issue is - this method is never called when connecting from IE8. Would appreciate any help. thanks, Also asked on stackoverflow: http://stackoverflow.com/questions/25501610/spring-websocket-reject-topic-subscription-based-on-user-rights-with-ie8-det

rstoyanchev commented 10 years ago

I've commented on SO.