Results 1 to 3 of 3

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi Erik,

    You are using a remote Data Adapter and a local Metadata Adapter. To handle authentication from your PHP code you need to use a remote Metadata Adapter too.

    To do that, instead of "com.lightstreamer.adapters.metadata.LiteralBasedP rovider", you should use "com.lightstreamer.adapters.remote.metadata.Network edMetadataProvider".

    For a full config file example, please see "Lightstreamer\DOCS-SDKs\sdk_adapter_remoting_infrastructure\conf\sock ets" or "Lightstreamer\DOCS-SDKs\sdk_adapter_remoting_infrastructure\conf\sock ets(robust)" in any Lightstreamer distribution.

    Cheers,

    Alessandro

  2. #2
    Member
    Join Date
    Mar 2009
    Location
    Kapolei
    Posts
    6
    Now, when you say that it makes perfect sense. I didn't think to try that.

    Quote Originally Posted by Alessandro

    To do that, instead of "com.lightstreamer.adapters.metadata.LiteralBasedP rovider", you should use "com.lightstreamer.adapters.remote.metadata.Network edMetadataProvider".

    Thanks, that works perfectly!

    Best,

    Erik Osterman

 

 

Similar Threads

  1. User Authentication Issue
    By karthik655 in forum Client SDKs
    Replies: 3
    Last Post: May 3rd, 2012, 10:07 AM
  2. Client Authentication via X.509
    By brianjohnson in forum General
    Replies: 3
    Last Post: March 12th, 2010, 02:14 PM
  3. Authentication with Metadata Adapter
    By stephenlam in forum Adapter SDKs
    Replies: 4
    Last Post: December 12th, 2008, 10:52 AM
  4. Replies: 2
    Last Post: March 26th, 2008, 09:50 AM
  5. Deprecation warning in the LiteralBasedProvider
    By jsharpe in forum Client SDKs
    Replies: 1
    Last Post: April 19th, 2007, 09:24 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 04:52 PM.