You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2011/02/04 23:42:30 UTC

[jira] Commented: (THRIFT-1053) Make remote client's IP address available for all socket related transports

    [ 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