Index: /main/waeup.cas/trunk/waeup/cas/tests/sample3.ini
===================================================================
--- /main/waeup.cas/trunk/waeup/cas/tests/sample3.ini	(revision 10472)
+++ /main/waeup.cas/trunk/waeup/cas/tests/sample3.ini	(revision 10473)
@@ -15,17 +15,24 @@
 auth = kofa1
 
-# Services (moodle instances or whatever) and running Kofa instances
-# we use to authenticate.  Each Supported kofa instance needs a name,
-# and is configured by a dict with `auth_url` and `service_url`
-# options. The `auth_url` is the URL where we check credentials. The
-# `services_url` tells for what service the url should be checked.
-auth_services = {
+# Backends (running Kofa instances) we use to authenticate.  Each
+# Supported kofa instance needs a name, and is configured by a dict
+# with `url` and `marker` options. The `url` is the URL where we check
+# credentials via XMLRPC. The `marker` is a regular expression that
+# might match a username. When checking credentials, we only pick
+# backends for which the respective marker matches.
+#
+# For example for username 'ABC01234' we would query only the first
+# backend instance. For username 'BC01212' we ould query only the
+# second instance. If a username matches multiple markers, we will
+# query each of the respective instances and return success when the
+# first backend replies with a positive result.
+auth_backends = {
   'kofa_inst1':
-    {'auth_url': 'http://localhost:6666/app1/',
-     'service_url': 'http://mymoodle/foo/bar',
+    {'url': 'http://localhost:6666/app1/',
+     'marker': '^AB',
     },
   'kofa_inst2':
-    {'auth_url': 'http://localhost:6666/app2/',
-     'service_url': 'http://othermoodle/bar/baz',
+    {'url': 'http://localhost:6666/app2/',
+     'marker': '^BC',
     },
   }
