[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services/pluggableauth - __init__.py:1.3
Stephan Richter
srichter@cosmos.phy.tufts.edu
Thu, 3 Jul 2003 11:43:19 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv4253/src/zope/app/interfaces/services/pluggableauth
Modified Files:
__init__.py
Log Message:
Fixed simple interface confusion. I was required to implement
IPrincipalSource to have ILoginPasswordPrincipalSource, which was no good,
since I was required to implement a write interface. However, I think this
was simply a typo, since the implementation of the interfaces did not make this assumption.
Also, I made two tests Py 2.3 compatible.
=== Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py:1.2 Mon Jun 23 18:46:16 2003
+++ Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py Thu Jul 3 11:42:45 2003
@@ -68,7 +68,7 @@
class IPrincipalSource(IReadPrincipalSource, IWritePrincipalSource):
"""A read-write principal source."""
-class ILoginPasswordPrincipalSource(IPrincipalSource):
+class ILoginPasswordPrincipalSource(Interface):
""" A principal source which can authenticate a user given a
login and a password """