[Checkins] SVN: ZODB/trunk/src/ZODB/co Complete authentication configuration through XML on the client side. Server part was implemented way back in 2003.

Wichert Akkerman wichert at wiggy.net
Wed Apr 23 10:01:48 EDT 2008


Log message for revision 85640:
  Complete authentication configuration through XML on the client side. Server part was implemented way back in 2003.

Changed:
  U   ZODB/trunk/src/ZODB/component.xml
  U   ZODB/trunk/src/ZODB/config.py

-=-
Modified: ZODB/trunk/src/ZODB/component.xml
===================================================================
--- ZODB/trunk/src/ZODB/component.xml	2008-04-23 13:52:24 UTC (rev 85639)
+++ ZODB/trunk/src/ZODB/component.xml	2008-04-23 14:01:47 UTC (rev 85640)
@@ -146,6 +146,16 @@
         read_only_fallback should be true.
       </description>
     </key>
+    <key name="username" required="no">
+      <description>
+        The authentication username of the server.
+      </description>
+    </key>
+    <key name="password" required="no">
+      <description>
+        The authentication password of the server.
+      </description>
+    </key>
     <key name="realm" required="no">
       <description>
         The authentication realm of the server.  Some authentication

Modified: ZODB/trunk/src/ZODB/config.py
===================================================================
--- ZODB/trunk/src/ZODB/config.py	2008-04-23 13:52:24 UTC (rev 85639)
+++ ZODB/trunk/src/ZODB/config.py	2008-04-23 14:01:47 UTC (rev 85640)
@@ -162,7 +162,10 @@
             max_disconnect_poll=self.config.max_disconnect_poll,
             wait=self.config.wait,
             read_only=self.config.read_only,
-            read_only_fallback=self.config.read_only_fallback)
+            read_only_fallback=self.config.read_only_fallback,
+            username=self.config.username,
+            password=self.config.password,
+            realm=self.config.realm)
 
 class BDBStorage(BaseConfig):
 



More information about the Checkins mailing list