I am not sure how this solution could be applied to a java environment only. I guess you would need to integrate the java client filter withinCAS it-self, but this is just an idea, and would need to be tested.
The CAS Java client stores the user ID in the Tomcat session after a succesful login, so you could get it from there:
String userId = (String)session.getAttribute("edu.yale.its.tp.cas.client.filter.user");
Cheers Nicolas
///Regards, -- | _/ _/_/_/ _/ _/ _/_/_/ | Jens Carlberg | _/ _/ _/_/ _/ _/ | UNIT, Linköpings universitet | _/ _/_/ _/ _/_/ _/ | Tel: +46 13 281758 | _/_/ _/_/_/ _/ _/ _/_/_/ | Fax: +46 13 284400
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
