[Grok-dev] Session based auth in Grok 1.1rc1

Jeffrey D Peterson bgpete at gmail.com
Wed Apr 7 16:12:38 EDT 2010


That fixed it...now the question is where does that really belong?  I would
guess, not in the app's root configure.zcml.

Jeff.

> -----Original Message-----
> From: grok-dev-bounces at zope.org [mailto:grok-dev-bounces at zope.org] On
> Behalf Of Kevin Teague
> Sent: Wednesday, April 07, 2010 2:34 PM
> To: grok-dev at zope.org
> Subject: Re: [Grok-dev] Session based auth in Grok 1.1rc1
> 
> I think some of the ZCML is missing in the zope.app.auth to
> zope.pluggableauth transition?
> 
> I had to add the following line to my configure.zcml when configuring
> a Grok app to use auth in 1.1rc1:
> 
>   <adapter
> factory="zope.pluggableauth.factories.AuthenticatedPrincipalFactory" /
> >
> 
> Presumably you'd also want:
> 
>   <adapter
> factory="zope.pluggableauth.factories.FoundPrincipalFactory" />
> 
> I haven't actually looked into this to see what changes were happening
> to the ZCML, but I think this might be the source of the problem.
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list