Yes it is. You can do the redirect to /login and use an instance of a ticket validator on return, like this one:
https://github.com/Jasig/java-cas-client/blob/master/cas-client-core/src/m ain/java/org/jasig/cas/client/validation/Cas20ServiceTicketValidator.java -Misagh From: Myn Harry [mailto:[email protected]] Sent: Friday, May 25, 2012 12:27 PM To: [email protected] Subject: [cas-user] Java Web Application - CAS Integration: without using Tomcat filters Hi: W.r.t a java web application, intergrating with the CAS server; is it possible to integrate without using the tomcat filter. I.e. the java web application recognizes when an unauthenticated session, and redirects user to CAS login; user is redirected back to Java web app and the Java web app subsequently validates ticket and retrieves attributes (using the cas-client-core JAR). My guess it is possible - can anyone kindly point me to any online resources outlining process? I was giving presentation on possibility of using CAS at our university and the question came up. Thanks. -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
