[Zope3-dev] EventService, references, and subscription semantics

Shane Hathaway shane@zope.com
Tue, 26 Feb 2002 17:25:34 -0500


Jim Fulton wrote:
> Shane Hathaway wrote:
>>Well, I may be wrong, but I don't think you can go that far.  If you
>>have a persistent LDAP-backed user database and you want to register an
>>LDAP-based user object as an event listener (perhaps to expire the
>>user's password), how would the IReferenceLookup utility know to use a
>>path/userid-based reference as opposed to a persistence-based reference
>>or an LDAP-based reference?  The only interface of the user objects is
>>IPrincipal.
>>
> 
> Why would a user object be limited to IPrincipal?

I meant that the only interface of the fictitious user objects in the 
example is IPrincipal, which was intended to clarify the illustration.

Shane