[Zope-PAS] Re: Authentication caching
Tres Seaver
tseaver at palladion.com
Sat Aug 19 11:29:28 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan H. Holek wrote:
> Hi All,
>
> I am in the lucky position of being sponsored to do some PAS work
> (Thanks WU-Wien!). You may see more coming from this direction soon. ;-)
>
> As a first step I have implemented authentication caching in the
> "gateway" i.e. in _extractUserIds. If you want to have a look, you can
> find the code on the shh-authentication-caching branch.
>
> <http://svn.zope.org/PluggableAuthService/branches/shh-authentication-caching/>
>
> <http://svn.zope.org/PluggableAuthService/branches/shh-authentication-caching/PluggableAuthService.py?rev=69485&r1=69484&r2=69485>
>
> Unless I receive complaints I am going to merge into trunk in a couple
> of days.
Can you hold off a bit? I'm travelling and would like to have time to
look at the patch more carefully. Overall, I *thin* I would like to
keep the caching itself out of the framework, because it is completely
irrelevant for lots of plugins, and introduces complexity / overhead.
An alternate idea I had was to implement a 'CacheablePluginHelper',
which would wrap another plugin, providing caching. It might be
possible to make it generic (like the ScriptablePlugin is).
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE5y5X+gerLs4ltQ4RAsAEAKDMWVZsbc6eFLSASi0kleaUY3+ETgCdFeR+
S7aAPREYr1PIKiT7IGmXLgA=
=6z1t
-----END PGP SIGNATURE-----
More information about the Zope-PAS
mailing list