[Zope] xml-rpc authentication

Andy McKay andym@ActiveState.com
Thu, 28 Jun 2001 09:48:26 -0700


> Where should I put this code?  Do I need to make any more alterations
(other
> than subclassing 'transport' as opposed to 'xmlrpclib.transport')?

Nope. ZSyncer, uses a script based on Amos's original code very successfully
btw. I use it a great deal. If you look at that python it might help
basically just put xmlrpclibBasicAuth.py (from ZSyncer) in Zope/bin/lib.

And instead of calling xmlrpclib, call xmlrpclibBasicAuth:

from xmlrpclibBasicAuth import Server
s = Server('http://foo.bar.com', 'user', pwd')
s.hello()

Cheers.

--
  Andy McKay.