Specifically: I am trying to do the CAS authentification with signed 
cookies. For CAS I need to redirect unauthenticated client to auth server, 
and set a cookie when it returns back with ticket. It would be perfectly 
possible to do using mod_ath_tkt but I wanted to avoid quadruple redirect 
from mod_auth_tkt to my login page from there to CAS server, back to login 
page and back to the page client wanted at first.

There is "official" mod_auth_cas: about 3000 lines of C code that uses 
server side storage for cookies (files in temp directory) and if it keeps 
up with the quality of the code of "official" python library that almost 
made me vomit I would like to avoid it if it can be done in 30 lines of 
python (less if existing middleware is used) using signed cookies (no 
server side storage).

Would setting the environment variable from the hook be so complicated as 
well?
(mod_fastcgi auth handler that I looked into first can do it but it can not 
redirect either). 

Anyway thanks for explanation.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to