You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2011-04-26 15:08:53

epiot
Member
Registered: 2011-04-26
Posts: 4

Implement CAS SingleSignOut on GLPI 0.78

Hi,


I want to connect a GLPI installation with my Central Authentication Service (CAS). After setup in the control panel, it works well. However, GLPI does not seems to implement SingleSignOut (when I log off the CAS server, the GLPI session is still running and available).

The phpCAS documentation is here :
http://downloads.jasig.org/cas-clients/ … cAuth.html

I tried to modify things in the code to have SingleSignOut support. Adding phpCAS::handleLogoutRequests in auth.class.php (just before CAS authentication) is apparently not sufficient, certainly because GLPI doesn't let phpCAS manage the session. But there's another interesting method : phpCAS::setSingleSignoutCallback. It is supposed to call a particular function when a CAS logout is detected. I must create this function and write the logout code inside.

Unfortunately, my function is never called and I don't know why.
Has anyone already tried to implement CAS SingleSignOut ? How did you do this ?

Thanks! smile

Offline

#2 2011-05-05 09:11:53

epiot
Member
Registered: 2011-04-26
Posts: 4

Re: Implement CAS SingleSignOut on GLPI 0.78

No idea ?

Offline

#3 2011-05-05 10:16:50

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: Implement CAS SingleSignOut on GLPI 0.78

hello
thanks for you message,
I've put a ticket in the roadmap not to forget : https://forge.indepnet.net/issues/2784

we need to review the authentication process to do it, and need to think about it more deeply

Offline

Board footer

Powered by FluxBB