ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Russo ...@halo3.net>
Subject Re: Way to obtain client IP / Port?
Date Wed, 01 Dec 2004 21:26:54 GMT

> Where can I find information about to use logged calls? Whith user and 
> password.


For this, just make your rpc object (one with execute method) implement 
AuthenticatedXmlRpcHandler rather then XmlRpcHandler. This way you will 
now have a execute method which contains a userid and a password. You 
can also use ContextXmlRpcHandler which will place the userid and 
password in a ContextObject which is passed to the execute method.

See:

http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/AuthenticatedXmlRpcHandler.html
http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/ContextXmlRpcHandler.html
http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/DefaultXmlRpcContext.html

If you are using the internal webserver, you will need the patch 
described here:

http://marc.theaimsgroup.com/?l=xmlrpc-dev&m=110144688801391&w=2

Hope this helps,

-James

Mime
View raw message