https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40596 --- Comment #6 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- 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.