Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

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

...

{
    domain: "i2b2demo",
    name: "HarvardDemoi2b2_local",
    allowAnalysis: true,
    urlCellPM: "http://127.0.0.1:9090/i2b2/services/PMService/",
    registrationMethod: "local",
    loginType: "local",
    showRegistration: true,
    debug: true
}

Refresh the webpage and you should see the option to register user (circled in red):

local loginImage RemovedImage Added

Enabling Federation User Self-Registration

Modify the file i2b2_config_data.js located in the directory /var/www/html/webclient/. Set the value of the attribute showRegistration to true and set the value of the attribute registrationMethod to saml.(Here

Info

urlCellPM must be 127.0.0.1

...

because the AJP proxy for the PM cell will always run on the same

...

server as the client.

...

Here, no port is specified because we want the client to talk to the AJP proxy.

For an example:

{
    domain: "i2b2demo",
    name: "HarvardDemoi2b2_saml",
    allowAnalysis: true,
    urlCellPM: "http://127.0.0.1:9090/i2b2/services/PMService/",
    registrationMethod: "saml",
    loginType: "federated",
    showRegistration: true,
    debug: true
}

Refresh the webpage and you should see the option to register user (circled in red):

federated loginImage RemovedImage Added

Disabling User Self-Registration

...