[Zope-PAS] [RFC] Extending CookieAuthHelper
Lennart Regebro
regebro at nuxeo.com
Fri Nov 12 07:45:00 EST 2004
Tino Wildenhain wrote:
> Reminder as we spoke on IRC:
>
> use a simple pickelable object, perhaps named
>
> __credentials with attributes username and password
>
> to protect the credentials to be seen by user code,
> in tracebacks and from beeing changed by user code.
>
> When you store in a session.
Yup. Example code of doing this is availabe in my CASAuthHelper
(attached). I haven't updated it for the latest changes in PAS, so it
probably doesn't work, but you can see the code. It's quite trivial,
really...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CASAuthHelper.py
Type: text/x-python
Size: 7612 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-pas/attachments/20041112/6bca5e87/CASAuthHelper-0001.py
More information about the Zope-PAS
mailing list