]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 25 Feb 2021 08:58:35 +0000 (09:58 +0100)
commit802f80d5d4e648f4d5d047ef0855bee90b7c28ae
tree31765f6b0d79d42d072127a63ec4438999248e13
parentfd75ab1808940704f9a1445d14d43198e501040d
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>
(cherry picked from commit 1a81264ac1fff96d6a678ec7abe730e1ac2c9dbc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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