https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39224

--- Comment #137 from Clemens Tubach <[email protected]> ---
Created attachment 202452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202452&action=edit
Bug 39224: Introduce Koha::Auth::Client::SAML2 for IPC Shibboleth
authentication, remove C4::Auth_with_shibboleth

C4::Auth_with_shibboleth was a thin wrapper around legacy Shibboleth IPC
functionality. This commit removes it entirely and introduces a new
Koha::Auth::Client::SAML2 class that implements IPC Shibboleth authentication
using the identity provider framework:

- Koha::Auth::Client::SAML2->is_enabled()           (was shib_ok())
- Koha::Auth::Client::SAML2->get_matchpoint_value() (was get_login_shib())
- checkpw() reads Apache ENV vars via _load_saml_attributes_from_request()
- login_url() / logout_url() for redirect handling
- _get_shib_config(), _request_hostname(), _get_session_id_from_env()
  as private IPC helpers

C4/Auth.pm and opac/opac-user.pl updated to call Koha::Auth::Client::SAML2
directly. t/db_dependent/Auth_with_shibboleth.t removed; IPC-mode tests
migrated into t/db_dependent/Koha/Auth/Client/SAML2.t.

Signed-off-by: Clemens Tubach <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to