owncloud-archive / user_cas

Currently maintained in :
https://github.com/felixrupp/user_cas
10 stars 49 forks source link

logout from CAS server #12

Open jgribonvald opened 9 years ago

jgribonvald commented 9 years ago

is it possible to manage CAS server logout request ?

you have to indicate this line phpCAS::handleLogoutRequests(true, array("server1.domain.edu", "server2.domain.edu"));

But it should be phpCAS that should initialize the session, else you will need to call phpCAS::setSingleSignoutCallback('_sso_logout');

jgribonvald commented 9 years ago

I could contribute on that feature but i don't know how to call a class funtion to a php function call_user_func_array

jgribonvald commented 9 years ago

finally we found a solution by implementing an other plugin in complement of any user_cas plugin

watch here : https://github.com/GIP-RECIA/server_session_manager

This plugin delegate the session management to phpCAS client. After the user_cas plugin do all configuration/connexion stuff

Just a warning you need to add a call on phpCAS::handleLogoutRequests(); in the user_cas plugin as this isn't already done.