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

--- Comment #6 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 185173
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185173&action=edit
Bug 40596: Add CAS and Shibboleth compatibility layers

Provides compatibility layers between legacy authentication systems and
modern identity provider architecture:

Koha::Auth::CASCompat:
* get_cas_providers() - Returns CAS configuration in legacy format
* authenticate_cas_user() - Bridges legacy checkpw_cas interface to modern
clients
* Supports both modern identity providers and legacy system preferences

Koha::Auth::ShibbolethCompat:
* get_shibboleth_provider() - Creates provider from legacy or modern config
* authenticate_shibboleth_user() - Bridges legacy checkpw_shib interface
* get_shibboleth_config() - Returns config in legacy format
* Handles attribute mapping and user auto-creation/updates

These layers allow existing code to continue working unchanged while
using modern authentication internally.

Test plan:
1. Apply patch
2. Test CAS authentication with existing configurations
3. Test Shibboleth authentication with existing configurations
4. Verify user auto-creation and updates work as expected
5. Run t/db_dependent/Auth_with_cas.t
6. Run t/db_dependent/Auth_with_shibboleth.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to