[Zope-CVS] CVS: Products/PluggableAuthService/interfaces -
plugins.py:1.7
Tres Seaver
tseaver at zope.com
Thu Oct 28 10:08:46 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/interfaces
In directory cvs.zope.org:/tmp/cvs-serv2789/interfaces
Modified Files:
plugins.py
Log Message:
- Clarify interface for IAuthenticationPlugin (the plugin is supposed to
return None, rather than raising an exception, if asked to authenticate
an unknown principal).
- Adjust ZODBUserManager accordingly.
=== Products/PluggableAuthService/interfaces/plugins.py 1.6 => 1.7 ===
--- Products/PluggableAuthService/interfaces/plugins.py:1.6 Mon Oct 4 13:41:11 2004
+++ Products/PluggableAuthService/interfaces/plugins.py Thu Oct 28 10:08:16 2004
@@ -82,7 +82,9 @@
o 'credentials' will be a mapping, as returned by IExtractionPlugin.
o Return a tuple consisting of user ID (which may be different
- from the login name) and login or None
+ from the login name) and login
+
+ o If the credentials cannot be authenticated, return None.
"""
class IChallengePlugin( Interface ):
More information about the Zope-CVS
mailing list