opensubscriber
   Find in this group all groups
 
Unknown more information…

r : rpc-user@xml.apache.org 1 December 2004 • 8:14AM -0500

Re: Way to obtain client IP / Port?
by Jochen Wiedmann

REPLY TO AUTHOR
 
REPLY TO GROUP




James Russo wrote:

>    I think my original question was not clear. I want the server to be
> able to obtain the IP address of the client calling the RPC method. I
> want to be able to get this information from within the RPC method
> itself. Right now, I don't think it is possible with the current way
> things are implemented. Other then userpassword (via
> AuthenticatedXmlRpcHandler, or ContextXmlRpcHandler) no information
> about the underlying transport is available at the RpcMethod layer.

Understood. The easiest possibility to record this is implementing an
own servlet, that writes these details into a ThreadLocal variable,
before invoking the XmlRpc stuff.


Jochen

--
Sum. Cogitone?

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.