-
Stephane Glondu authored
This revision should be bisimilar to the previous one. Summary: - each auth system registers $name and $service - $service stores a logout handler in Auth_common.user - the generic login service redirects to $service if its parameter matches $name - the generic logout service clears out Auth_common.user and invokes the stored logout handler - the default auth system is the one registered last - Templates directly query Auth_common for available auth systems TODO: - enforce user_type = $name (currently not the case for CAS) - export Auth_common.register_auth_system - move existing auth systems out of Auth_common - integrate with config parsing - rework CAS - generic login should do security_log - do admin login
b0e97728