Add intranet support for CAS authentication.
Created attachment 34906 [details] [review] proposed patch
Created attachment 34907 [details] [review] unit test
Test plan: CAS Intranet setup is identical to OPAC setup, but you have to set the StaffClientBaseUrl syspref (with the http or https prefix / http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7770 for more infos on why it is needed) Check that CAS login works in the intranet (except for the koha user, which is a special user). Check that CAS still works at the OPAC. Check that database login still works at both intranet and OPAC. Check that authenticating against multiple CAS servers work (see C4/Auth_cas_servers.yaml.orig)
Created attachment 36316 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login).
Created attachment 36317 [details] [review] Bug 13507 [Follow-up] : Add unit test.
Created attachment 36321 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login).
Created attachment 36339 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login).
Created attachment 36341 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login).
Patch tested with a sandbox, by Koha Team AMU <koha.aixmarseille@gmail.com>
Created attachment 36348 [details] [review] Bug 13507 [Follow-up] : Add unit test. Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com>
Created attachment 36349 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login). Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com>
Created attachment 36671 [details] [review] [PASSED QA] Bug 13507 [Follow-up] : Add unit test. Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 36672 [details] [review] [PASSED QA] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login). Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Martin, could you take a final look at the code for this? In my testing it worked alright, tested with a biblibre test CAS server - Matthias can give you the data for that. (Very useful!)
Guys, this doesn't apply, could you please fix the conflict? I'm willing to push it ASAP
Created attachment 37431 [details] [review] Bug 13507: Add intranet support for CAS authentication This patch allows to use CAS authentication for intranet login. It works exactly the same as the OPAC login, except that the staffClientBaseURL syspref must be set for intranet login (like OPACBaseURL must be set for OPAC login). Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
It was just a template issue, rebased.
Feature pushed to master. Thanks Matthias and congrats!