-
February 4th, 2010, 10:29 PM
#1
Client validation inside subscribe call
Is there any way to identify which client session/user is calling the subscribe method of a DataAdapter?
For instance, in the MessengerDemo, when a user subscribes to messages to himself, it is done with the "im_<nick>" item. This is defined by the client, so it would be pretty easy for a user to subsititue someone else's nick and thereby subscribe to another's messages instead of their own.
Now, I already verify the identity of the client in the notifyUser method in the metadataAdapter, is there any way to use the validated user/session information from there in the subscribe method, so I can allow users to only subscribe to their own feed?
Similar Threads
-
By abhijeetgk in forum Adapter SDKs
Replies: 1
Last Post: September 28th, 2011, 10:53 AM
-
By bartol82 in forum Adapter SDKs
Replies: 1
Last Post: August 30th, 2011, 10:15 AM
-
By hungtt in forum Adapter SDKs
Replies: 2
Last Post: December 24th, 2010, 07:51 AM
-
By rd2008 in forum General
Replies: 9
Last Post: October 10th, 2008, 10:38 AM
-
By nagakumaran in forum Adapter SDKs
Replies: 6
Last Post: October 16th, 2007, 02:11 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:18 PM.
Bookmarks