Windows | Games | Mobile | Wallpapers


Authenticating Twisted with Zope/Plone 1.7

This is a script for python.


Last Week downloads: 0
Total downloads: 69
  • Last Updated: Aug 17, 2010
  • License: Freeware Free
  • OS: Windows /Linux/Mac OS/BSD/Solaris
  • Requirements: No special requirements

User reviews

4 out of 5 based on 1 ratings for Authenticating Twisted with Zope/Plone 1.7

For Authenticating Twisted with Zope/Plone 1.7Publisher's description


Authenticating Twisted with Zope/Plone is a Scripts software developed by Duncan McGreggor. After our trial and test, the software is proved to be official, secure and free. Here is the official description for Authenticating Twisted with Zope/Plone:

BS Editor: I was writing a custom Twisted XML-RPC server for Radio Station DJs to use, but one station was managing all of its internal web app users and groups through Zope. Twisted has an amazingly pluggable authentication framework, so the requirement was satisfied with the following.

Note that in this simple example, every time a user executes an XML-RPC method, they are authenticating against Zope. This involves an xmlrpclib.ServerProxy instantiation as well as the overhead of making a network connection to Zope. For this reason, as well as in the event of Zope being down, one might want to implement some form of caching (without passwords), so that application functionality is not impacted by Zope DownTime and overhead from authentication is only incurred when necessary.

Radix makes a very good point in the comments: the use of xmlrpclib in this recipe is blocking. This means that if you have 10, 20, whatever number of people using the app, and someone new logs in, the twisted reactor can't do it's usual thing and cycle through requests until that user finishes logging in. I will post an update that makes use of the non-blocking t.w.xmlrpc code. The solution will be messier, though, as t.w.xmlrpc is broken in that it doesn't handle scheme://username:pass@host:port URLs. This is due to the FACT that t.w.xmlrpc.QueryProtocol doesn't set an Authentication header... and there's no mechanism in t.w.xmlrpc.Proxy and QueryFactory for parsing and setting user and password into from the URL.

Update: see the comments below for how to work around this limitation.
you can free download Authenticating Twisted with Zope/Plone 1.7 now.

For Authenticating Twisted with Zope/Plone 1.7Related Software


Please be aware that Brothersoft do not supply any crack, patches, serial numbers or keygen for Authenticating Twisted with Zope/Plone,and please consult directly with program authors for any problem with Authenticating Twisted with Zope/Plone.