RemoteAuth EZProxy CGI authentication user/jeffdavis/lp1850992-remoteauth-ezproxy-upstream-rebased
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 21 Nov 2019 22:43:33 +0000 (14:43 -0800)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 7 Apr 2020 18:52:28 +0000 (11:52 -0700)
commite66cb5fcfa50018d6b12e90261ed844d635ad815
tree178d1be4ec46fea3acc417d1be65b038b4d31dda
parent3814f2da09389634857f97f020f48c97227ba679
RemoteAuth EZProxy CGI authentication

This commit adds a RemoteAuth handler (and associated templates,
configuration, and sample data) for EZProxy CGI user authentication:

https://help.oclc.org/Library_Management/EZproxy/Authenticate_users/EZproxy_authentication_methods/CGI_authentication

The user is presented with a login form.  If their account is
authorized, they will be redirected to EZProxy with a valid
authentication ticket, allowing them to access online resources.  If
they are not authorized, an error message is displayed indicating why
the auth attempt failed.  The login form and error messages use
Template Toolkit (TT2) templates and can be customized.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Open-ILS/examples/apache_24/eg_startup.in
Open-ILS/examples/apache_24/eg_vhost.conf.in
Open-ILS/src/perlmods/lib/OpenILS/WWW/RemoteAuth/EZProxyCGI.pm [new file with mode: 0644]
Open-ILS/src/templates/remoteauth/ezproxycgi/error.tt2 [new file with mode: 0644]
Open-ILS/src/templates/remoteauth/ezproxycgi/footer.tt2 [new file with mode: 0644]
Open-ILS/src/templates/remoteauth/ezproxycgi/header.tt2 [new file with mode: 0644]
Open-ILS/src/templates/remoteauth/ezproxycgi/login.tt2 [new file with mode: 0644]
Open-ILS/src/templates/remoteauth/ezproxycgi/login_form.tt2 [new file with mode: 0644]
Open-ILS/tests/datasets/sql/remoteauth.sql