Someone at Facebook actually recently created a patch enabling SSL support for Java and PHP Thrift clients (CCing him here). Basically It enables a TSSLSocket to be used instead of raw sockets.
Joel -- can you create an issue for your patch on the Apache JIRA and post up the .patch file there? http://issues.apache.org/jira/browse/THRIFT You can certainly also run your service inside Jetty/Tomcat by using the THTTPClient to wrap up your Thrift data inside HTTP posts. -----Original Message----- From: Jerome Boulon [mailto:[email protected]] Sent: Thursday, November 19, 2009 1:49 PM To: [email protected] Subject: Java HTTP Thrift service Hi, I want to build a Thrift service but I need the data to be encrypted between Client and Server. So is there already a way to do that or what would it take to support encryption at the socket level? I¹m looking for an implementation for Client&Server in Java, or Is there a way to run a Thrift service inside Jetty/Tomcat? Thanks, /Jerome.
