[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: Re: Way to obtain client IP / Port?
From: James Russo <jr () halo3 ! net>
Date: 2004-12-01 21:26:54
Message-ID: 41AE371E.8060606 () halo3 ! net
[Download RAW message or body]
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic