Screen Shot 2013-07-15 at 10.44.53 PM

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

Download the archive.

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.

Filed under: Mac OS X

Tagged with: , , , , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Run CAS Server on OS X

Name (required)

Email (required)

Website

Leave a Reply

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.