DARIAH-DE/redmine_shibboleth

Name: redmine_shibboleth

Owner: DARIAH-DE

Description: Shibboleth Plugin for Redmine 3.x

Created: 2016-10-27 12:46:38.0

Updated: 2016-10-27 13:43:06.0

Pushed: 2016-11-09 15:16:25.0

Homepage: null

Size: 46

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Shibboleth Authentication Plugin for Redmine

This Plugin adds customized Shibboleth Authentication for Redmine 3.3.0 stable.

Database

Add one more column into table users:

R TABLE `users` ADD `enterpriseid` VARCHAR(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
Shibboleth

Add these lines into your HTTP Server file. For example for Apache2 with a shibd2 deamon: /etc/apache2/sites-enabled/000-default.conf

    <Location /Shibboleth.sso>
      SetHandler shib
    </Location>

    <Location /auth/saml>
      AuthType shibboleth
      ShibRequestSetting requireSession 1
      require valid-user
      ShibUseHeaders On

      RequestHeader set eppn %{eppn}e
      RequestHeader set mail %{mail}e
      RequestHeader set cn %{cn}e
      RequestHeader set sn %{sn}e
      RequestHeader set givenName %{givenName}e
      RequestHeader set isMemberOf %{isMemberOf}e
    </Location>

Restart apache2

nstall

can first take a look at general instructions for plugins [here](http://www.redmine.org/wiki/redmine/Plugins).

 that the plugin was only tested with *Redmine 3.3.0 stable*, *Ruby 2.3.1* and *Rails 4.2.7.1*.

lone this repository in your plugins/ directory

hange the name of this plugin folder ("redmine_shibboleth") to "acnplm_auth_shib"

nstall the dependencies with bundler: 
```bundle install```

opy assets by running this command from your redmine root directory (note: the plugin has no migration for now):

After that you can adapt your Shibboleth internal settings especially for attribute mappings in

Finally you need to configure some minor options for the plugin to work, in “Administration” > “Plugins” > “Configure” on the Shib Authentication plugin line.

Development

This tool has been developed within the ?Humanities at Scale? project. This project has received funding from the European Union?s Horizon 2020 research and innovation programme under grant agreement 675570.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.