-
June 29th, 2015, 12:16 PM
#1
Hi Dejan, you don't need to protect in some way the client request for the token, because, after your Metadata Adapter authenticates the client (even via sendMessage) it can treat any request on the session in a different way than before.
What counts it that the request belongs to that session.
So, for instance, if you use an item to carry the token, any subscription to that item can be refused before the authentication takes place and accepted after.
Note that you also don't need to play with the item name, because a generic name can be decorated and turned into a session-specific item by the Metadata Adapter in getItems(); then the Data Adapter will recognize the session-specific item and feed it appropriately.
In order to get a result as a consequence of a sendMessage call, an alternative way is shown in this thread (as "solution 2").
Similar Threads
-
Replies: 0
Last Post: September 24th, 2022, 12:52 PM
-
By programmer in forum Client SDKs
Replies: 3
Last Post: January 14th, 2015, 04:52 PM
-
By rvkvino in forum General
Replies: 3
Last Post: September 25th, 2013, 09:20 AM
-
By mluecke in forum Client SDKs
Replies: 1
Last Post: August 2nd, 2012, 03:01 PM
Tags for this Thread
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 08:17 AM.
Bookmarks