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:     [EMAIL PROTECTED]
> Sent:         Tuesday, July 2, 2002 3:19 PM
> To:   [EMAIL PROTECTED]
> 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.
> 
> 

Reply via email to