Skip to content

Adding Shibboleth support

Jacob Zimmerman edited this page Mar 24, 2015 · 1 revision
  1. Install Shibboleth with sudo apt-get install shibboleth.

  2. Ask your sysadmin to configure Shibboleth Identity Provider. (/etc/shibboleth/shibboleth2.xml contains the Shibboleth Service Provider information, and /etc/shibboleth/attribute-map.xml contains details of the authentication object).

  3. Run sudo a2enmod shib2 to enable Shibboleth in Apache.

  4. Add the following code into the Virtualhost config for Autolab:

<VirtualHost _default_:443>

       ...

       <Location /auth/users/auth/shibboleth/callback>
               AuthType shibboleth
               ShibRequestSetting requireSession 1
               require valid-user
       </Location>

       <Location "/Shibboleth.sso">
               SetHandler shib-handle
               PassengerEnabled off
       </Location>

       ...

</VirtualHost>
  1. Restart Apache: sudo service apache2 restart.