ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas moser <tmo...@futurelab.ch>
Subject Re: Client IP Address accessable from handler methods
Date Wed, 03 Jul 2002 08:54:15 GMT
Hi Mike,

well, this is not quite what I ment. I need to produce billing records upon a 
consumption of some clients at *application level*. And there an IP address 
is good information for tracability. It's not about authentication or 
filtering with IP addresses.

Thanks,
	Thomas.


On Wednesday 03 July 2002 00:43, Rogers, Mike wrote:
> 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