Hi, Christian,

No, this event is not fired, and the zope.pluggableauth.interfaces.IPrincipalCreated event is not fired. 
the principals are defined in site.zcml and created by zope.principalregistry.principalregistry defineDefaultPrincipal, 
I don't see any event are fired there.

Thanks
--Shrek

<blockquote class="quote light-black dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">Christian Klinger wrote:</div>
<div class="quote-message">
Hey Shrek,

can you add a pdb or a print in the

    def specialGroups(event):


event. You can find this module in 
zope.pluggableauth/plugins/groupfolder.py We want to verify that this 
event is fired for you.

Christian

> Jan-Wijbrand Kolman<janwijbrand<at>  gmail.com>  writes:
>
>>
>> On 11/4/10 2:49 AM, Shrek Zhou wrote:
>>> To Christian,
>>>
>>> I can not found groupfolder.zcml in that folder under
>>> *.buildout/eggs/zope.pluggableauth-1.0.3-
> py2.6.egg/zope/pluggableauth/plugins/
>>
>> Grok-1.2 still uses zope.pluggableauth-1.0.3 indeed. I'm not sure of the
>> chronology of the Grok 1.2 release and the zope.pluggableauth 1.1
>> anymore, but, if you were to say in your project's buildout.cfg:
>>
>> [versions]
>> ...
>> zope.pluggableauth = 1.1
>> ...
>>
>> and then re-run ./bin/buildout, you should get the latest
>> zope.pluggableauth *with* the aforementioned plugins.
>>
>> As Christian said, the subject of zope.pluggablauth and related have
>> soke glitches concerning the correct configuration. I *think* this is
>> being worked on as we speak during the Grok Forest Sprint.
>>
>> Thanks for keeping up with this and helping identifying the issues.
>>
>> Kind regards, jw
>>
>
> I added them to my configure.zcml, but it still does not work.
>
> <configure xmlns="http://namespaces.zope.org/zope">             xmlns:grok="http://namespaces.zope.org/grok">
>    <include package="grok" />
>    <includeDependencies package="." />
>    <grok:grok package="." />
>    <include package="zope.pluggableauth" />
>    <include package="zope.pluggableauth.plugins" file="groupfolder.zcml" />
> </configure>
>
> Thanks
> --Shrek


_______________________________________________
Grok-dev mailing list
Grok-dev@zope.org
https://mail.zope.org/mailman/listinfo/grok-dev

</div>
</div></blockquote>


<br><hr align="left" width="300">
View this message in context: <a href="http://old.nabble.com/grok-1.2-and-session-based-auth.-tp30124704p30132385.html">Re: grok 1.2 and session based auth.</a><br>
Sent from the <a href="http://old.nabble.com/Grok-f28342.html">Grok mailing list archive</a> at Nabble.com.<br>