[Zope] Re: Cookie and Basic authentication
Casey Duncan
casey at zope.com
Tue Jun 8 09:54:45 EDT 2004
On Tue, 08 Jun 2004 13:31:20 +0200
Ulrich Wisser <ulrich.wisser at 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
More information about the Zope
mailing list