[Twisted-Python] XMLRPC Authentication

Justin Johnson justinjohnson at fastmail.fm
Mon Jun 9 09:39:41 EDT 2003


I ended up using the SimpleXMLRPCServer from python and adding the
necessary code to do http auth.  Posted my code to the python-list. 
However, if the functionality is added to cred at a later date, I'd love
to use it.

Thanks for the info.

On Sun, 8 Jun 2003 00:29:28 -0400, "Glyph Lefkowitz"
<glyph at twistedmatrix.com> said:
> On Saturday, June 7, 2003, at 09:00 PM, Itamar Shtull-Trauring wrote:
> > As with most high-level libraries in twisted, it's totally optional. It
> > does give you a nice pluggable backend, so you can use same auth
> > database for all Twisted apps. That's the theory. It might even be true
> > if we manage to rewrite cred this month :)
> This is actually pretty likely.  I need cred implemented for LOTS of 
> reasons this month.
> > No, like I said, that does form based authentication. You'd want a
> > twisted.web.fuard.HTTPAuthResourceGuard. If you write one and 
> > contribute
> > it we can include it.
> What I'd really like is the ability to configure a guard to use HTTP 
> auth depending on certain parameters, such as the user-agent.  For 
> example, a site which traditionally uses form-based authentication with 
> interactive browsers still might be better-suited to HTTP auth when one 
> is fetching a file with wget.
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list