[Zope3-checkins] CVS: Zope3/src/zope/app/browser - auth.py:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:07:32 EST 2004


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

Modified Files:
	auth.py 
Log Message:


Fixed it up, so that the tests will pass. I will remove the module next.




=== Zope3/src/zope/app/browser/auth.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/auth.py:1.4	Tue Mar  2 12:40:47 2004
+++ Zope3/src/zope/app/browser/auth.py	Mon Mar  8 07:07:00 2004
@@ -17,8 +17,7 @@
 """
 from zope.interface import implements
 from zope.app.publisher.interfaces.http import ILogin, ILogout
-from zope.app.security.registries.principalregistry import \
-     UnauthenticatedPrincipal
+from zope.app.security.principalregistry import UnauthenticatedPrincipal
 from zope.app.pagetemplate import ViewPageTemplateFile
 from zope.proxy import removeAllProxies
 
@@ -26,7 +25,7 @@
     implements(ILogin)
 
     def login(self, nextURL=None):
-        """See zope.app.interfaces.security.ILogin"""
+        """See zope.app.security.interfaces.ILogin"""
         if isinstance(removeAllProxies(self.request.user), \
                       UnauthenticatedPrincipal):
             self.request.unauthorized("basic realm='Zope'")
@@ -53,7 +52,7 @@
         self.request = request
 
     def logout(self, nextURL=None):
-        """See zope.app.interfaces.security.ILogout"""
+        """See zope.app.security.interfaces.ILogout"""
         if not isinstance(self.request.user, UnauthenticatedPrincipal):
             self.request.unauthorized("basic realm='Zope'")
             if nextURL:




More information about the Zope3-Checkins mailing list