[Zodb-checkins] CVS: ZODB3/ZEO/auth - auth_digest.py:1.1.2.6

Jeremy Hylton jeremy at zope.com
Thu May 29 18:40:00 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/auth
In directory cvs.zope.org:/tmp/cvs-serv27523/ZEO/auth

Modified Files:
      Tag: ZODB3-auth-branch
	auth_digest.py 
Log Message:
Change the StorageServer to be explicitly told what the realm is.

If the realm passed to the server doesn't match the realm in the
password database, complain.  Fix the tests to work with this new
scheme.



=== ZODB3/ZEO/auth/auth_digest.py 1.1.2.5 => 1.1.2.6 ===
--- ZODB3/ZEO/auth/auth_digest.py:1.1.2.5	Wed May 28 14:37:31 2003
+++ ZODB3/ZEO/auth/auth_digest.py	Thu May 29 17:39:29 2003
@@ -101,7 +101,7 @@
         """Return realm, challenge, and nonce."""
         self._challenge = self._get_nonce()
         self._key_nonce = self._get_nonce()
-        return self.database.realm, self._challenge, self._key_nonce
+        return self.auth_realm, self._challenge, self._key_nonce
 
     def auth_response(self, resp):
         # verify client response




More information about the Zodb-checkins mailing list