[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - auth.py:1.6
Chris McDonough
chrism@zope.com
Mon, 23 Jun 2003 18:46:47 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv30079/src/zope/app/interfaces/services
Modified Files:
auth.py
Log Message:
Merge pluggable_authentication_service-branch to HEAD.
You can now use a pluggable authentication service in place of a simple authentication service.
=== Zope3/src/zope/app/interfaces/services/auth.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/services/auth.py:1.5 Tue Feb 11 10:59:51 2003
+++ Zope3/src/zope/app/interfaces/services/auth.py Mon Jun 23 18:46:16 2003
@@ -25,7 +25,7 @@
"""Get the login for the user."""
def validate(pw):
- """See whether the password is valid."""
+ """Confirm whether pw is the password of the user."""
class IWriteUser(Interface):
@@ -39,12 +39,6 @@
def setLogin(login):
"""Set login of User."""
-
- def setRoles(roles):
- """Set roles of User.
-
- Roles should be a sequence of role ids.
- """
def setPassword(password):
"""Set password of User."""