Re: Persistent principal folder?

Vincent Fretin <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Fri, Aug 20, 2010 at 1:44 PM, Michael Howitz <[email protected]> wrote:
> Hi,
>
> I need to store persistent principals in a folder in the ZODB. I do not need any UI for the principal nor the principal folder. I'd like to use zope.pluggableauth to authenticate them.
>
> zope.app.authentication.principalfolder does nearly exactly what I need. But I do not like to use it as it has many bad dependencies only needed for ZMI.
> Even z3c.authenticator seems to do too much as it contains UI code, too.
>
> Is there something else like zope.app.authentication.principalfolder.PrincipalFolder?
> Or what is the way nowadays to store persistent principals?
>
> Could it be a solution to extract zope.app.authentication.principalfolder into a new package like `zope.principalfolder` or even zope.pluggableauth?
>

Hi,

Souheil Chelfouh initially extracted the pluggable auth utility from
zope.app.authentication to zope.pluggableauth to not have all the
browser views and this principalfolder implementation.
In Dolmen http://www.dolmen-project.org/ (set of libraries you can use
with Grok to build a small CMS), we have our own principal folder
plugin implementation
http://pypi.python.org/pypi/dolmen.app.authentication which is based
on dolmen.authentication and zope.pluggableauth.
And you have an example of a User content type in:
http://gitweb.dolmen-project.org/menhir.contenttype.user.git

Vincent Fretin
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.