[Zope3-dev] event fired when a principal is created

Jim Fulton jim at zope.com
Fri Sep 30 12:56:16 EDT 2005


Martijn Faassen wrote:
> Stephan Richter wrote:
> 
>> On Friday 30 September 2005 04:58, Martijn Faassen wrote:
>>
>>> Such an event however does not appear to be fired when an
>>> UnauthenticatedPrincipal gets fired. This makes adding groups to such a
>>> principal not so easy.
>>
>>
>>
>> I think you are right. Feel free to add this feature.
> 
> 
> Right, I will tr to look into that in the future. I have a suspicion 
> that the whole zope.app.authentication framework is more complicated 
> than it has to be part due to the requirements of the whole etc/ 
> framework.

It's possible that it's too complicated, but I can't see how to
blame site-management folders.

 > The whole principal prefix story doesn't make life easier
> either (both authentication objects as well as authenticator plugins 
> have support for a prefix but to make it all work you can't specify a 
> prefix in both places..confusing).

Hm, you should be able to.  This was badly broken a few months
ago and it was improved, but I never looked at what was done.  I guess
I'd better do that.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list