CAS SSO 3.4.7 with LDAP/AD Attributes

Been working on rebuild our CAS Server for a few days now.  We needed to CAS pull additional attributes out of Active Directory for some of our SSO services.  So I’m going to quickly walk through what you need to do you set this server up.

Requirements:
Apache Tomcat 6.0.32
Maven 2.2.1
CAS Server 3.4.7
Attached files:
  /  cas.zip / (No longer available)
  • pom.xml
  • deployerConfigContext.xml
  • person-directory-impl-1.5.0-RC6.jar (recompiled to ignore AD referrals)
  1. Install Apache Tomcat 6, I used 6.0.32. This is easy enough, get the binary download, extract, run the startup script in the bin folder. Test Confirm working, default port is 8080
  2. Install Maven 2.2.1, this will be used to compile CAS
  3. Download CAS 3.4.7, and extract.
  4. Open cas-server-3.4.7/cas-server-webapp
  5. Replace pom.xml with one in cas.zip
  6. Open cas-server-3.4.7/cas-server-webapp/src/main/webapp/WEB-INF/
  7. Replace deployerConfigContext.xml with one in cas.zip. Also edit file, and replace anything with braced in @@.
  8. While still in the “WEB-INF” folder, create a folder called “lib”, put person-directory-impl-1.5.0-RC6.jar inside of it.
  9. Open cas-server-3.4.7/cas-server-webapp
  10. Compile with maven, “mvn clean package install”
  11. This will output target/cas.war, copy to tomcat/webapps/cas.war
  12. Restart Tomcat
  13. Enjoy, CAS should be good to go.