[Twisted-Python] woven guard patch and example

Rich Cavanaugh rich at enflyer.com
Thu Apr 10 11:07:33 EDT 2003


The woven.guard patch attached contains one minor bug fix (changing a
reference in GuardSession.checkExpired from self.site.sessions to
self.guard.sessions). Also, it slightly modifies PerspectiveWrapper to make
using alternate resources for a login page easier.

The example file attached demonstrates using woven.guard with the patch
applied. If anyone wants I can post an example of use without the patch.

rich
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: woven.guard_demo.py
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030410/77a75226/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guard.py.patch
Type: application/octet-stream
Size: 1682 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030410/77a75226/attachment.obj 


More information about the Twisted-Python mailing list