[Zope3-checkins] CVS: Zope3/src/zope/app/services - auth.py:1.21

Chris McDonough chrism at plope.com
Tue Jan 13 14:05:13 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv14414/src/zope/app/services

Modified Files:
	auth.py 
Log Message:
Remove ability to view, add, and manage users in old AuthenticationService.

Remove ability to add an old AuthenticationService to a site.

Add a warning to old AuthenticationService authenticate method.


=== Zope3/src/zope/app/services/auth.py 1.20 => 1.21 ===
--- Zope3/src/zope/app/services/auth.py:1.20	Sun Sep 21 13:32:46 2003
+++ Zope3/src/zope/app/services/auth.py	Tue Jan 13 14:05:12 2004
@@ -64,6 +64,10 @@
 
     def authenticate(self, request):
         'See IAuthenticationService'
+        import warnings
+        warnings.warn('The Simple Authentication Service is deprecated and'
+                      'will be removed in a future revision of Zope 3',
+                      DeprecationWarning)
         a = queryAdapter(request, ILoginPassword, None)
         if a is not None:
             login = a.getLogin()




More information about the Zope3-Checkins mailing list