Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2008
    Location
    Sao Paulo
    Posts
    1

    Authorization on many exchanges

    Hello

    I was wondering what's the best way to have multiple market data feeds from multiple exchanges.

    Users may have access to none or all exchanges, depending on the configuration on the auth/auth server.

    Scenario A: Using metadata provider
    If we implement this logic in the metadata provider, and the user sends 10 items from Exchange A and 1 item from Exchange B, and if he doesn't have access to the Exchange B anymore, the metadata provider would reject the entire request, and no info will be shown on the user's screen because of 1 item. So, I think this is not suitable, unless I'm missing something.

    Senario B: Using application logic
    When the users enters the applications and requests it's saved table items in the database, the system must detect if he still has access to those items. If not, mark them as "not available" and do not send them on the LS requests.

    I don't know if there's a cleaver way to make that, at this moment it looks that only scenario B is ok.

    Could you please provide us more information about it?

    Thanks in advance,

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    If you don't want to reject a whole subscription request when a few items in the request cannot be supplied to the related user,
    you can still achieve that by leveraging the Metadata Adapter.

    In the getItems method, any item whose request cannot be forwarded to the Data Adapter can be replaced with a special item;
    this special item can be just silent or can carry refusal-related information that client application code can easily detect.

 

 

Similar Threads

  1. Authorization
    By AidasOzelis in forum Adapter SDKs
    Replies: 3
    Last Post: December 23rd, 2010, 05:38 PM
  2. Getting through IIS "Basic" authorization process
    By wmolde in forum Client SDKs
    Replies: 14
    Last Post: February 12th, 2008, 10:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 02:13 PM.