ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rogers, Mike" <m...@technology3.com>
Subject RE: Client IP Address accessable from handler methods
Date Tue, 02 Jul 2002 22:43:25 GMT
We have been doing this authentication at the level above the handler. For
example, we use the base XmlRpcServlet to register handlers, and have also
coded the servlet to do the authentication in the doPost method of the
servlet before it called xmlrpc.execute


Mike

> ----------
> From: 	thomas moser
> Reply To: 	rpc-user@xml.apache.org
> Sent: 	Tuesday, July 2, 2002 3:19 PM
> To: 	rpc-user@xml.apache.org
> Subject: 	Client IP Address accessable from handler methods
> 
> Hi all,
> 
> For logging (billing records / tracability) I need to have access to the 
> clients IP address from withing my methods of a registered handler object.
> 
> Did I miss a way of accessing it? Am I the first on with this problem, or
> has 
> someone done that already? How big an effort would it be? I guess we'd
> need a 
> getClientIP() for the corresponding Connection somehow accessable through
> a 
> reference passed on by the XmlRpcHandler Interface. What do you think? 
> 
> Thanks for your time,
> 
> cu,
> 	Thomas.
> 
> 

Mime
View raw message