Christian Stuck of Westminster Choir College contributed this information about authentication of ColdFusion applications on the CAS Mailman list:
This is a simple CAS script we developed to replace an existing simple login script for a problem solving ColdFusion application we have. This is not very elegant (esp. not with XML), but it will get the job done. You will have to go through and change some variables, along with the SQL statement:
What does this script do? How do you consume its output? Well,
It sets the authenticated username from the XML response
in the NetId variable.
It then sets the Session variable of MM_UserName to this NetId variable so that all ColdFusion pages in the application can access it.