Spring Security (previously Acegi) as CAS Client

The Spring Framework is a popular, layered Java/J2EE application framework, with features including powerful JavaBeans-based configuration management; generic abstraction for transaction management; JDBC abstraction layer; integration with Hibernate, JDO and iBATIS SQL Maps; rich AOP functionality; and a flexible web MVC framework. Spring provides packages that assist in building complex web applications, web services endpoints, and Swing-based rich clients.

The Spring Security provides a wide range of security services for Spring-based applications, including method interception, web request interception and redirection, and rich client (Swing) integration. Spring Security maintains packages which provide full integration with CAS. The packages also allow (but do not require) Spring Security's AuthenticationProviders - which include JDBC, in-memory and JAAS wrapper providers - to be used as CAS PasswordHandlers, easing migration from stand-alone Spring Security applications to a CAS-managed environment.

Got examples?
Do you have a concrete example of using Spring with CAS? Do you have stories to share of hard work, elegance, or virtuous laziness resulting in a successful project (or even one that wasn't so successful?) Please comment on this page, we'd love to add your experiences.

This information originally contributed by by: Ben Alex.