source: main/waeup.cas/trunk/waeup/cas/tests/sample4.ini @ 13576

Last change on this file since 13576 was 10509, checked in by Henrik Bettermann, 11 years ago

Add authenticator which authenticate against a running Kofa instance and transfer data to Moodle. No test available. sample4.ini serves as an example configuration file and isn't used by any test.

File size: 731 bytes
Line 
1# A sample config to run WSGI components with paster
2# This config is with all possible options set explicitly.
3[app:main]
4use = egg:waeup.cas#server
5# SQLAlchemy connection string
6# By default we get an in-memory SQLite database
7# Samples:
8#   sqlite in-memory db:  sqlite://:memory:
9#   sqlite file-based db: sqlite:////path/to/db
10
11db = sqlite:///:memory:
12
13auth = kofa_moodle1
14auth_backends = {
15  'kofa_moodle1':
16    {'url': 'http://xmlrpcuser1:xmlrpcuser1@localhost:8080/app1/',
17     'marker': '^K',
18     'moodle_url': 'http://localhost/moodle/webservice/xmlrpc/server.php?wstoken=de1e1cbacf91ec6290bb6f6339122e7d',
19    },
20  }
21
22[server:main]
23# run a WSGI server on localhost:8008
24use = egg:Paste#http
25host = 0.0.0.0
26port = 8008
Note: See TracBrowser for help on using the repository browser.