Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Modify the i2b2_config_data.js file located in the directory /var/www/html/webclient/ as needed. In particular, you will want a domain entry with loginType = "federated" (see 1.4.2 Domain Configuration) and you will want to update the URL to begin with 127.0.0.1 (to use the AJP proxy to the Hive).

{
    "urlProxy": "index.php",
    "urlFramework": "js-i2b2/",
    "startZoomed": true,
    "lstDomains": [
        {
            "domain": "i2b2demo",
            "name": "HarvardDemo SAML",
            "allowAnalysis": true,
            "urlCellPM": "http://127.0.0.1/i2b2/services/PMService/",
            "registrationMethod": "saml",
            "loginType": "federated",
            "showRegistration": true,
            "installer": "/webclient/plugin_installer/",
            "debug": true
        },      
        {
            "domain": "i2b2demo",
            "name": "HarvardDemo",
            "allowAnalysis": true,
            "urlCellPM": "http://127.0.0.1/i2b2/services/PMService/",
            "registrationMethod": "",
            "loginType": "local",
            "showRegistration": false,
            "debug": true
        }
    ]
}

Restart the Apache web server:

...