This page is designed to show how to integrate Roller 4.0 with LDAP and JA-SIG Central Authentication Service. To begin, you will need to download the following:
- Apache Directory Server 1.5.1
- Apache Directory Studio 1.0.1
- Apache Roller 4.0
- Apache Tomcat 6.0.14
- CAS 3.1
These instructions should work on any application server, providing you're able to install Roller.
Install Roller and Test
The first step is to install Roller and ensure it works on your application server.
- Install Tomcat 6 and install the MySQL JDBC Driver in its "lib" directory. Also install JavaMail's activation.jar and mail.jar.
- Create a CATALINA_HOME environment variable that points to the location where you installed Tomcat.
- Create a roller-custom.properties file and put it in your server's classpath ($CATALINA_HOME/lib for Tomcat 6).
installation.type=auto database.configurationType=jdbc database.jdbc.driverClass=com.mysql.jdbc.Driver database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb?createDatabaseIfNotExist=true database.jdbc.username=root database.jdbc.password= mail.configurationType=properties mail.hostName=localhost
- Copy apache-roller-4.0/webapps/roller to $CATALINA_HOME/webapps/roller and start Tomcat.
- Go to http://localhost:8080/roller
and complete the steps to add a new user and create a blog.
Install LDAP and Test
Install CAS and Test
Install Apache Directory Server using the installer for your OS. If you're on OS X, the server will be installed in /usr/local/apacheds by default.