Hi, I am working on a PHP data publisher for BAM. The skeleton php classes and Thrift php library can be found at [1].
In order to publish data from the PHP client, a session ID is needed to be generated by connecting a *ThriftSecureEventTransmissionServiceClient*. For the authentication purpose, the *ThriftSecureEventTransmissionServiceClient* requires a secure transport wrapped in a *TProtocol* object. Even though Thrift java library provides the *TSSLTransportFactory* class to create a secure transport, the Thrift php library does not provide an equivalent method to create a secure transport. Because of this, there's a difficulty in authenticating the publisher and obtaining a session ID to publish events. I would like to know your input on overcoming this difficulty or at least whether it is possible to obtain the session ID in an alternative way without communicating through thrift. [1] - https://github.com/omindu/php-publisher Thanks, Omindu. -- Omindu Rathnaweera Software Engineer, WSO2 Inc. Mobile: +94 771 197 211
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
