[Zope-dev] Proposal: refactoring of zope.app.security

Dan Korostelev nadako at gmail.com
Wed Mar 11 18:51:38 EDT 2009


2009/3/12 Martijn Faassen <faassen at startifact.com>:
> Hey,
>
> Dan Korostelev wrote:
>> The zope.principalregistry is an non-persistent implementation of
>> IAuthentication that allows us to define principals via zcml (the
>> "principal" directive and company) or with simple python calls. It's
>> also quite useful for tests.
>
> It defines the registry and the ZCML directives to fill the registry
> both, right? I mean, we could think about calling it zope.principalzcml
> but if the registry is there I imagine it's indeed better to make it
> zope.principalregistry.

Registry is there as well, so it's a fully-functional non-persistent
implementation of IAuthentication utility.

-- 
WBR, Dan Korostelev


More information about the Zope-Dev mailing list