[ 
https://issues.apache.org/jira/browse/THRIFT-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990797#comment-12990797
 ] 

Devaraj Das commented on THRIFT-1053:
-------------------------------------

Had a discussion with Aaron and Todd offline - and one suggestion is to add to 
TSaslTransport class a "TTransport getUnderlyingTransport()" method.

> Make remote client's IP address available for all socket related transports
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-1053
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1053
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.5
>            Reporter: Devaraj Das
>             Fix For: 0.6
>
>
> I have a requirement where I want to inspect a remote client's IP address 
> when it talks to the server over the Sasl transport. If the transport is 
> TSocket, I could do the following in my implementation of 
> TProcessor.process(TProtocol inProt, TProtocol outProt):
> ((TSocket)inProt.getTransport()).getSocket().getInetAddress()
> I need a similar functionality for the Sasl transport as well.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to