Last change
on this file since 14086 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] |
---|
4 | use = 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 | |
---|
11 | db = sqlite:///:memory: |
---|
12 | |
---|
13 | auth = kofa_moodle1 |
---|
14 | auth_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 |
---|
24 | use = egg:Paste#http |
---|
25 | host = 0.0.0.0 |
---|
26 | port = 8008 |
---|
Note: See
TracBrowser for help on using the repository browser.