#Spring Websocket

4 messages · Page 1 of 1 (latest)

civic atlas
#

How to block other users from listening on spring websocket channel. What I have done is that you need to have permission to send the message. As for the listening part, how do you check if the user has the right to listen? For example, user1 and user2 both have the same rights and will listen at the endpoint /user/{userId }/message and somehow user1 knows the userId of user 2 and edits the code to eavesdrop, what should we do now?

prime bladeBOT
#

This post has been reserved for your question.

Hey @civic atlas! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.