On Thursday 23 June 2005 21:52, Darryl Cousins wrote:
> and as such has **no getLogin method**.

This is correct. zope.security.interfaces.IPrincipal does nto specify a 
"getLogin()" method.

> I would have expected it to provide InternalPrincipal as it appears to
> in default/PluggableAuthenticatin/principals/testuser/@@introspector

No, the InternalPrincipal is only the data container. A principal is always 
generated for each request. This is a new paradigm in the authentication 
code.

> Any suggestions?

Why do you need getLogin? The id or title of the principal are commonly 
available. The login name is usually protected information.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to