/i2b2-webclient-cas

Patched i2b2 webclient that delegates user authentication to Eureka! Clinical CAS

Primary LanguageJavaScriptOtherNOASSERTION

i2b2-webclient-cas

Georgia Clinical and Translational Science Alliance (Georgia CTSA), Emory University, Atlanta, GA

What does it do?

This is a stock i2b2 1.7.12a web client patched with support for

The CAS-related code is adapted from similar code for an older version of i2b2 by Dan Connolly found at https://bitbucket.org/DanC/i2b2-webclient-cas.

Version history

Version 1.4

Updated to version 1.7.12a of the web client.

Version 1.3

Updated to version 1.7.09c of the web client.

Version 1.2

Updated to version 1.7.08 of the web client.

Version 1.1

Commented out the Project Request plugin in the plugin registry list.

Version 1.0.1

Removed an alert call that was there for debugging.

Version 1.0

Initial release using version 1.7.05 of the web client.

CAS implementations supported

We expect any full implementation of version 2 of the CAS protocol to work. In particular, the implementation must support proxying. The following implementations of CAS are known to work:

Requirements

See the i2b2 Web Client Install guide for requirements for the web client itself. The Eureka! Clinical components require:

Installation

  1. Install our patched i2b2 project management cell, i2b2-pm-cas.
  2. Install eurekaclinical-i2b2-integration-service.
  3. Install eurekaclinical-i2b2-integration-webapp on the same host as the i2b2 web client.
  4. Install eurekaclinical-user-agreement-service.
  5. Install eurekaclinical-user-agreement-webapp on the same host as the i2b2 web client.
  6. Follow the i2b2 Web Client Install guide for installing the web client itself. The steps for installing our patched web client are identical.

Configuration

Configuring the web client

First, follow the configuration instructions for the web client and proxy in the i2b2 Web Client Install guide.

Pointing the webclient to your CAS server

Open the i2b2_config_data.js file, and add the following properties to your domain settings:

  • CAS_server: the URL for your CAS server.
  • CAS_LOGOUT_TYPE: either CAS or LOCAL, depending on whether you want the web client's Logout link to log the user out of CAS (CAS) or just log the user out of i2b2 (LOCAL).
  • EC_LOGOUT_LANDING_PAGE_URL: for LOCAL logouts, the URL to load after the user's session has been ended.
  • EC_I2B2_INTEGRATION_URL: the URL for your eurekaclinical-i2b2-integration-webapp.
  • EC_USER_AGREEMENT_URL: optional URL for your eurekaclinical-user-agreement-webapp, if you want users to be redirected to it.
  • EC_SUPPORT_CONTACT: optional email address to display when an error has occurred.

Licensing

This code is released under the i2b2 Software License version 2.1, available at https://www.i2b2.org/software/i2b2_license.html.