8 Jun
2004
8 Jun
'04
1:54 p.m.
On Tue, 08 Jun 2004 13:31:20 +0200 Ulrich Wisser <ulrich.wisser@relevanttraffic.se> wrote:
Hi,
my web application uses cookie based authentication. Which works very well with CookieCrumbler.
Now I have been asked to implement some XML-RPC functions, which should use the same login information but use Basic Authentication.
CookieCrumbler just "fakes" basic auth anyhow. Basic auth will work as usual even with CookieCrumbler in play. Using the xmlrpclib with a recent Python you can just do:: import xmlrpclib zope = xmlrpclib.Server('http://user:password@zopeserver') zope.some.object.method() hth, -Casey