Isn't so difficult, anyway here are two links that hopefully you will find helpful:
https://wiki.jasig.org/display/CASUM/Demo http://www.ibm.com/developerworks/web/library/wa-singlesign/ The casclient.jar has the code to validate the tickets, just add the Cas servlet filter to your app. e.g: <!-- this will be part of your web.xml --> <filter> <filter-name>CASFilter</filter-name> <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name> <param-value>https://localhost:8080/cas/login</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> <param-value>https://localhost:8080/cas/serviceValidate</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.wrapRequest</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name> <param-value>localhost:8080</param-value> </init-param> </filter> <filter-mapping> <filter-name>CASFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> ________________________ I hope it helps you! 2012/10/24 Jonathan <[email protected]> > I am just getting started with CAS to implement the CAS client. Just > finished setting up my CAS server. My CAS client is a java server with > tomcat and spring. What is the simplest way to validate the cas ticket? Is > there sample code I can use? > > Thanks > Jonathan > -- > 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 > -- Carlos -- 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
