Hi there! Have you taken a look at this? Bug 7174<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174> - Authentication rewriting
It is not configuration file -driven, but it is almost 100% of what you described with some added bonuses. With a looong list of complex dependencies. Olli-Antti Kivilahti Järjestelmäkeittäjä vaarakirjastot.fi +358 50 449 7763 --Powered by Kubuntu Linux! On 28.07.2015 02:48, Robin Sheat wrote: Kyle Hall schreef op ma 27-07-2015 om 07:22 [-0400]: I think authentication is the perfect way to use interfaces in Koha! That way we can have a standard API for authentication be it internal, ldap, cas, or whatever! Right now the way C4::Auth and it's ilk are mixed together definitely creates headaches when attempting to debug authentication issues. I've been complaining to anyone who'd listen that our current way of doing auth is hacks upon hacks upon hacks, and if I had all the time in the world I'd rewrite it using a modular architecture, along these lines. Then you can configure the classes in koha-conf.xml, and have a sequence, e.g.: <auth> <koha save="true" /> <!-- koha internal auth is checked first, save this login if it succeeds and isn't already here --> <certificate certfield="commonname" kohafield="email" /> <!-- SSL client certificates is checked second --> <ldap> ... ldap details ... </ldap> </auth> or something along those lines, so you can build up your own authentication process. Unfortunately, I don't have all the time in the world, so this hasn't been anything more than a thought experiment for me so far :) _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org<mailto:Koha-devel@lists.koha-community.org> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/