How to reject topic subscription based on user rights with Spring-websocket
I'm implementing a version of the stock application where the server able to reject topic subscription for certain topic based on the user rights. Is there a way in spring-websocket to do this? For example: In the stock example project we have price topic for 3 instrument: Apple, Microsoft, Google And have two user: User1, User2 User1 should have access to Apple and Microsoft User2 should have access to Google only If User1 subscribe to Google he should got rejected response, and message shouldn't broadcast to him afterwards. tomikiss Thanks to Rossen Stoyanchev answer on github I was manage