We use a custom servlet designed to login and logout of CAS via HTTP the same as users that I can give out to those who want it. (I tried distributing it via the mail list but I guess it doesn't like JAR attachments). Anyhow, it is a fully configurable servlet that you can deploy upon your CAS server that comes with intelligent defaults. It was designed to work with packages and devices that perform basic layer 7 health checks as it returns HTTP OK status code (200) only upon successful login and logout as well as the presence of required cookies; otherwise it returns HTTP SERVICE UNAVAILABLE (503).
Anyhow, email me and I can distribute it as necessary. Hope this helps, A- On 3/20/09 7:29 AM, "Marvin Addison" <[email protected]> wrote: > We recently enabled this in our build, which we maintain using the > recommended Maven WAR overlay process. There were only two steps. > > 1. Add the following to pom.xml: > <dependency> > <groupId>org.jasig.cas</groupId> > <artifactId>cas-server-integration-restlet</artifactId> > <version>3.3.1</version> > <scope>runtime</scope> > </dependency> > <dependency> > > 2. Add the following to web.xml: > <servlet> > <servlet-name>restlet</servlet-name> > > <servlet-class>com.noelios.restlet.ext.spring.RestletFrameworkServlet</servlet > -class> > </servlet> > <servlet-mapping> > <servlet-name>restlet</servlet-name> > <url-pattern>/rest/*</url-pattern> > </servlet-mapping> > > Hope that helps, > M -- Andrew Feller, Analyst LSU University Information Services 200 Frey Computing Services Center Baton Rouge, LA 70803 Office: 225.578.3737 Fax: 225.578.6400 -- 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
