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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This Plugin adds customized Shibboleth Authentication for Redmine 3.3.0 stable.
Add one more column into table users:
R TABLE `users` ADD `enterpriseid` VARCHAR(127) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
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
plugins/acnplm_auth_shib/lib/acnplm_auth_shib/user_patch.rb
plugins/acnplm_auth_shib/lib/acnplm_auth_shib/account_controller_patch.rb
restart your Redmine instance (depends on how you host it)
Finally you need to configure some minor options for the plugin to work, in “Administration” > “Plugins” > “Configure” on the Shib Authentication plugin line.
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.