Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
//------------------------------------------------------------------------------------------- // THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO lstDomains: [ { domain: "i2b2demo", name: "HarvardDemo", urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/", allowAnalysis: true, debug: false, registrationMethod: "local", loginType: "local", showRegistration: true, } ] //------------------------------------------------------------------------------------------- |
...
Code Block | ||||
---|---|---|---|---|
| ||||
//------------------------------------------------------------------------------------------- // THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO lstDomains: [ { domain: "i2b2demo", name: "HarvardDemo", urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/", allowAnalysis: true, debug: false, registrationMethod: "local", loginType: "local", showRegistration: true }, { domain: "i2b2demo", name: "i2b2demo (1.7)", urlCellPM: "http://localhost:9090/i2b2/services/PMService/", allowAnalysis: true, debug: true, registrationMethod: "saml", loginType: "federated", showRegistration: true } ] //------------------------------------------------------------------------------------------- |
...
indent | ||
---|---|---|
| ||
5. Save the changes and close the file. | ||
Info | ||
| ||
In 1.7.13, the config file name has changed to i2b2_config_data.json. Also, backslashes must be escaped and there can be no comments (see below). |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "domain": "i2b2demo", "name": "SAML Demo", "allowAnalysis": true, "urlCellPM": "http:\/\/127.0.0.1:9090\/i2b2\/services\/PMService\/", "registrationMethod": "saml", "loginType": "federated", "showRegistration": true, "installer": "\/webclient\/plugin_installer\/", "debug": true }, { "domain": "i2b2demo", "name": "Local Demo", "allowAnalysis": true, "urlCellPM": "http:\/\/localhost\/webclient\/i2b2\/services\/PMService\/", "registrationMethod": "", "loginType": "local", "showRegistration": true, "installer": "\/webclient\/plugin_installer\/", "debug": true ] //------------------------------------------------------------------------------------------- |
...