User_authentication_demo is a project mainly written in RUBY and JAVASCRIPT, it's free.
== User Authentication Demo ==
This is a Rails 3 demo application, demonstrating how to use AuthLogic with a CAS server (in this case, RubyCas via RubyCAS-client).