-
February 5th, 2010, 09:55 AM
#2
There is no risk that a client cheats by using an item name dedicated to another client, because the Metadata Adapter can validate the request against user information in getItems.
For the same reason, you don't need to have the client use client-specific item names, because you can decorate the item names with client information in getItems (despite we opted for the former technique in the Messenger demo).
On the other hand, thanks to the level of decoupling offered by getItems, we choose not to provide session/user information to the Data Adapter.
The Data Adapter has to find all the information needed to determine the item meaning packed in the item name it receives through subscribe
and it is the job of getItems ensuring that the item names are composed in the proper way.
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 12:36 PM.
Bookmarks