t.w.x.XMLRPC with Basic Auth
Hello, This example over-rides render (which I could probably do, but it seems like cheating): http://code.activestate.com/recipes/526625/ This example is over my head (my zope.interfaces foo is weak): http://twistedmatrix.com/pipermail/twisted-web/2007-May/003377.html and also possibly dated? twisted.web2.auth.wrapper.HTTPAuthResouce vs. twisted.web._auth.wrapper.HTTPAuthSessionWrapper Is anyone aware of any other examples I could consider? Clay Gerrard Office: 210-312-3443 Mobile: 210-788-9431 Confidentiality Notice: This e-mail message (including any attached or embedded documents) is intended for the exclusive and confidential use of the individual or entity to which this message is addressed, and unless otherwise expressly indicated, is confidential and privileged information of Rackspace. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at abuse@rackspace.com, and delete the original message. Your cooperation is appreciated.
On 31 Aug, 10:24 pm, clay.gerrard@rackspace.com wrote:
Hello,
This example over-rides render (which I could probably do, but it seems like cheating): http://code.activestate.com/recipes/526625/
This example is over my head (my zope.interfaces foo is weak): http://twistedmatrix.com/pipermail/twisted-web/2007-May/003377.html and also possibly dated? twisted.web2.auth.wrapper.HTTPAuthResouce vs. twisted.web._auth.wrapper.HTTPAuthSessionWrapper
Is anyone aware of any other examples I could consider?
http://twistedmatrix.com/trac/browser/trunk/doc/web/examples/webguard.py gives an example of using twisted.web.guard, which is probably what you should be using. It's somewhat similar to the example you linked to above. If you're not familiar with twisted.cred, you may want to look at http://twistedmatrix.com/projects/core/documentation/howto/cred.html first. Jean-Paul
participants (2)
-
Clay Gerrard
-
exarkun@twistedmatrix.com