Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

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

...

Install Shibboleth (SAML Service Provider) and AJP


Info
The specific commands for installing packages are for CentOS 7. Commands might be slightly different in other versions and flavors of Linux.


Preparing for Software Installation

...

<SSO entityID="<https://example.org/saml2/idp/metadata.phpphp>">>>
    SAML2
</SSO>

Remember to replace *https://example.org/saml2/idp/metadata.php* with  with your IdP entity.

Modify the <Handler> Tags:

...

Create a file named ajp.conf in the directory /etc/httpd/conf.d/ with the following content, depending on what version of CentOS or Apache you are running:

...

CentOS 6 / Apache 2.0CentOS 7 / Apache 2.2 (recommended)CentOS 8

<VirtualHost *:80>
  <Location /i2b2/> 
        ProxyPass
ajp://localhost:8009/i2b2/ secret=5F6C696F56D37BCFD1296C3E33A11
        ProxyPassReverse ajp://localhost:8009/i2b2/ secret=5F6C696F56D37BCFD1296C3E33A11 
   </Location>
</VirtualHost>

<VirtualHost 127.0.0.1:80>

...


  ProxyRequests Off
  ProxyPreserveHost Off
  <Location /i2b2/services/

...


        Require ip 127.0.0.1

...

...

secret=5F6C696F56D37BCFD1296C3E33A11

...


  </Location>

...


</VirtualHost>


Not 

Supported


Remember to replace the secret key 5F6C696F56D37BCFD1296C3E33A11 with your own.

...