[Grok-dev] Session based auth in Grok 1.1rc1
trollfot at gmail.com
Wed Apr 7 16:35:10 EDT 2010
trollfot at heimdall:~/projects/sandbox/zope.pluggableauth/trunk/src/zope/pluggableauth$
<adapter factory=".factories.FoundPrincipalFactory" />
<adapter factory=".factories.AuthenticatedPrincipalFactory" />
It's already in there.
In my first answer, I told you to include the configure.zcml of the
It's, in theory, all you need (there : <include
2010/4/7 Jeffrey D Peterson <bgpete at gmail.com>:
> That fixed it...now the question is where does that really belong? I would
> guess, not in the app's root configure.zcml.
>> -----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:
>> factory="zope.pluggableauth.factories.AuthenticatedPrincipalFactory" /
>> Presumably you'd also want:
>> 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
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev