Le 24/06/2014 17:36, George Brink a écrit :
Hi all,Right now I am making a web site which would use CAS to recognize users.The site is based on a set of Perl scripts. I am looking for a comprehensive tutorial on how I am supposed to use CAS. I see a lot of documentation (and it is discussed here a lot) on how to create a CAS server in Java, but I need to _use_ CAS... So far I found AuthCAS module on CPAN, but I am not sure how to use it. All examples ends on initial authentication, but what to do next? How can I make sure that the user who is looking on other pages of my site did pass the CAS authentication on the "welcome" page of the web site?
That's a generic authentication issue, and is not specific to CAS uage.
Unless you have a strong reason to implement authentication in your application, just delegate it to the web server, and use mod_auth_cas.Ideally, I would like to have some "validateUser" function on each every page of my site, but as far as I understand, CAS do not have such ability? Once 'ticket' is validated it is not usable anymore?
-- Guillaume Rousse INRIA, Direction des systèmes d'information Domaine de Voluceau Rocquencourt - BP 105 78153 Le Chesnay Tel: 01 39 63 58 31
smime.p7s
Description: Signature cryptographique S/MIME
