Getting started: CAS Server 3.0.7 + LDAP (AD) Authentication
Rodriguez, Unai
Unai.Rodriguez at behringer.com
Thu Apr 26 02:34:17 EDT 2007
Dear all,
I am trying to set up a CAS server and have it connected to our LDAP
(Active Directory) server. I have been reading for a day or so and I
have to admit then I am pretty lost.
My system specs
---------------
- Linux Debian 3.1 Sarge (oldstable)
- Java 1.5.0_08
- Tomcat 5.5.23
- Ant 1.6.2
- CAS 3.0.7
I have tested my setup as follows
---------------------------------
1. deployed the demo war file:
cp /opt/cas-server-3.0.7/target/cas.war /opt/tomcat/webapps/
2. restarted tomcat:
/etc/init.d/tomcat restart
3. pointed my browser here:
http://ip:8080/cas/login
4. I am able to see the CAS default login page
Trying to set up LDAP
---------------------
1. Get these jar files:
cas-server-ldap-3.0.7.jar (from:
/opt/cas-server-3.0.7/target/cas-server-ldap-3.0.7.jar)
spring-ldap-1.1.2.jar (from:
http://jaist.dl.sourceforge.net/sourceforge/springframework/spring-ldap-
bin-1.1.2.zip)
2. Place them on:
/opt/cas-server-3.0.7/localPlugins/lib/
3. Modified the file (the changes I did are not relevant right now;
please see below):
/opt/cas-server-3.0.7/webapp/WEB-INF/deployerConfigContext.xml
4. Build CAS again:
cd /opt/cas-server-3.0.7/localPlugins/
ant jar
ant war
5. deployed cas.war
cp /opt/cas-server-3.0.7/localPlugins/target/cas.war
/opt/tomcat/webapps/
/etc/init.d/tomcat restart
6. pointed my browser here:
http://ip:8080/cas/login
My problem
----------
No matter what changes I make on the file "deployerConfigContext.xml"
they do not get reflected on the cas.war. I have tried writing random
strings (Example: asasasas). I have tried also deleting
"deployerConfigContext.xml". The build is always *successful*.
I am trying to follow these pages:
http://www.ja-sig.org/products/cas/server/installing/index.html
http://www.ja-sig.org/products/cas/server/localplugins/index.html
http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html
I know I am doing something wrong. Would you please bring me some light?
How can I "get started" modifying the configuration files in order to
have CAS communicate with LDAP?
Thank you so much!!!
Kind Regards,
Unai Rodriguez
More information about the cas
mailing list