]> git.koha-community.org Git - koha.git/commit
Bug 18506: Add xShibOnly preference for Shibboleth authentication
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 26 Apr 2017 11:39:15 +0000 (12:39 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Feb 2021 08:46:08 +0000 (09:46 +0100)
commit1a81264ac1fff96d6a678ec7abe730e1ac2c9dbc
treeb584f4fd07bc23270fb8c04a16c41de8618ad5d7
parent768c113bc00109faf730c51c2b26d39d4d5d7671
Bug 18506: Add xShibOnly preference for Shibboleth authentication

This patch adds two system preferences to Koha, opacShibOnly and
staffShibOnly, allowing users to restrict authentication to just
one method, Shibboleth.

We do however, allow for local fallback for the SCO/SCI logins.

A system preference was chosen over a configuration file update to
allow for local override at the virtualhost level. In this way a
hosting provider can setup a 'backdoor opac' for example to allow
fallback to local logins for support operations.

Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth.pm
installer/data/mysql/atomicupdate/shibOnly.perl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt