As stated earlier, the configuration attribute called lstDomains is an array containing one or more domain definition objects. The domain definition data object contains the following attributes for each data object.
Name | Optional | Type | Description |
---|---|---|---|
domain | N | String | A short code used by the proxy server for the domain / group ID. |
name | N | String | A human-readable string containing the domain's name. This is visible to users when logging into the i2b2 Web Client. |
urlCellPM | N | String | The full path URL for the Project Management Cell. |
allowAnalysis | Y | Boolean | Defines whether or not the plug-in viewer is available to users. The plugin viewer is used to access the optional plug-ins (Analysis Tools). This setting will affect all users.
|
debug | Y | Boolean | Defines whether or not debugging messages are logged. (uses additional memory). |
registrationMethod | Y | String | NEW 1.7.13! Defines an information source for the new user registration tool. (If showRegistration is true, this parameter must be present.)
|
showRegistration | Y | Boolean | NEW 1.7.13! Determines whether a link to register new users appears.
|
loginType | N | String | NEW 1.7.13! Determines whether the local login screen or the SAML login screen appears. Parameter value is a required for the webclient to display the appropriate screens
|
Steps to update domain
WARNING
Make sure you are editing the files in your web server directory and not the ones that reside in YOUR_I2B2_WC_DIR.
Important
- If you are installing the i2b2 demo environment you want to add the "i2b2demo" domain and update the urlCellPM with the host and port with the location of your PM Cell.
- If you are setting up your own i2b2 environment with test or production data then you can copy the domain section and edit it to reflect your environment.
- You can comment out or remove the HarvardDemo domain. However, we highly recommend you leave it during the installation process so you can use it for troubleshooting whether an issue is with your local setup. You can remove it after everything is installed and is working.
//------------------------------------------------------------------------------------------- // 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, } ] //-------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------- // 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 } ] //-------------------------------------------------------------------------------------------