RemoteAuth EZProxy CGI authentication user/jeffdavis/lp1850992-remoteauth-ezproxy-upstream
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 21 Nov 2019 22:43:33 +0000 (14:43 -0800)
committerJeff Davis <jeff.davis@bc.libraries.coop>
Fri, 22 Nov 2019 07:24:32 +0000 (23:24 -0800)
commit06453bf6086a7a89cd80ca61d22ecf0cbe086ec1
tree1a1c108da90b63a1f6507adadd092136333e5d02
parent77a8d90e122593539a43dbae14413ac488929865
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