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

Kevin Teague kevin at bud.ca
Wed Apr 7 15:34:27 EDT 2010


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.


More information about the Grok-dev mailing list