[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services/pluggableauth - __init__.py:1.1.2.2
Chris McDonough
chrism@zope.com
Sun, 22 Jun 2003 21:08:53 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv27350/src/zope/app/interfaces/services/pluggableauth
Modified Files:
Tag: pluggable_authentication_service-branch
__init__.py
Log Message:
Provide an authentication view for pluggable auth service.
Write some tests for pluggable auth service.
=== Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py:1.1.2.1 Tue Jun 3 09:34:06 2003
+++ Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py Sun Jun 22 21:08:22 2003
@@ -61,6 +61,15 @@
similar to (e.g. contain) the given name.
"""
+ def getPrincipalByLogin(login):
+ """ Get a principal object based on a login.
+
+ Principals may have logins that differ from their id. For example,
+ a user may have a login which is his email address. He'd like
+ to be able to change his login when his email address changes without
+ effecting his security profile on the site.
+ """
+
class IWritePrincipalSource(Interface):
"""A read-write source of IPrincipals.
"""