Jul
15
Run CAS Server on OS X
July 15, 2013 | Leave a Comment
After working with SAML (ADFS and SimpleSAML) these past few months, I’m now testing CAS Server.
Here is how to install CAS Server on OS X for developers needing to integrate an app with such an auth. system.
First, we need Tomcat :
1 | brew install tomcat |
Now, we will need the JAVA mysql connector. Download it from mysql site and copy the .jar file to /Library/Java/Extensions/
Make sure Tomcat runs
1 2 3 4 5 6 7 8 9 | cd /usr/local ./catalina # Tomcat should display info on how to use catalina ./catalina run # Now tomcat runs and http://localhost:8080 should respond |
Second, now let’s get to CAS
Unzip it
Copy the CAS module to the Tomcat webapps folder
1 | cp -R cas-server-3.5.2/modules/cas-server-webapp-3.5.2.war /usr/loca/Cellar/tomcat/7.0.41/libexec/webapps/ |
Restart catalina and go to http://localhost:8080/cas-server-webapp-3.5.2
Now you can login using any login and password as long as they are the same 😉
I gathered help on how to install tomcat and how to get going with CAS here and here.
You can find some CAS literature here.
Tagged with: Auth, brew, CAS, catalina, saml, Tomcat
Liked this page?
Subscribe to the RSS feed or sign up for the newsletter now.