Todo:
handle case when logged user is not present in database (actually raw http response)
rename global parameter (CAS => SSO), because solution is generic and not CAS-specific
improve cookie management in finishSession (if necessary).
Regards,
Louis Chanouha
University of Toulouse (FR)
Thank you Chanoua for the patch, it works very well. As a matter of fact I use it with Apache mod_auth_kerb and MIT Kerberos + Firefox on the Windows clients.
I just had to make some little changes to allow connections without an authenticated user as well, I mean if the user is not provided via the environment variable then we (optionally, when $paramCASOnly=false) fall back to the logon page behavior. See attachment.
I noticed that requiring to negotiate a Kerberos authentication for each HTTP request, even for images, js files, etc, is slowing down the display of pages. In fact only the view/main.php page needs to receive the authenticated user id, so this must be configured in apache.
One question: what is the aim of the change in the Audit.php file?
Note: this is my second submission about this topic... but I don't know where the first fall into. So let's try again.
Thank you Chanouha for the patch. I use it as well but with the following configuration:
- MIT-Kerberos clients and Firefox (with few changes in the configuration)
- Apache with mod_auth_kerb that negotiate the authentication and returns an env. variable to Projeqtor
- Projeqtor v6.4.4 (now)
The patch is slightly different for v6.4.4. I also changed it to allow an optional fallback to the usual logon page when there is no apache authenticated user provided (variable not set or empty).
I also noticed it is not necessary to negotiate an authentication for all the files of Projeqtor like images for example: this slows down the access. In fact only the view/main.php needs to identify and authenticate the user. Am I correct? It works but is it dangerous to do so?
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.