CAS + LDAP
Matthew Jones
matthew.jones at interactivedata.com
Tue Jul 29 07:48:39 EDT 2008
O.K. Now that I have a working Tomcat installation on Ubuntu (with the
security option turned off) I'm back to following the CAS with LDAP
documentation (not using fast bind).
However, I am still unable to start the CAS server when I try to add the
LDAP configuration. At least now I am in a position to be able to start
and stop the CAS application from within Tomcat (although I do restart
Tomcat to check that the error really exists).
Anyway, I made the change to the pom.xml file and CAS still runs and can
be started and stopped. So changing pom.xml doesn't seem to upset my
installation. The next step was to add the stuff to the deployer
configuration but then CAS won't start at all. So I tried to minimise it
further by not setting up the authenticationHandler, that is using a
deployer configuration with the contextSource bean defined but not
actually used. This made no difference and here is the contents of the
catalina log file:
INFO: Starting Servlet Engine: Apache Tomcat/5.5
29-Jul-2008 12:32:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
29-Jul-2008 12:32:52 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas-server-webapp-3.2.1.war
29-Jul-2008 12:32:55 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
29-Jul-2008 12:32:55 org.apache.catalina.core.StandardContext start
SEVERE: Context [/cas-server-webapp-3.2.1] startup failed due to
previous errors
And this is all I have added to deployerConfigContext.xml. Note that I'm
now using a plain old LDAP server, not LDAPS.
<!--
| This is the bean specified in the CAS-LDAP documentation
+-->
<bean id="contextSource"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
<property name="pooled" value="true"/>
<property name="urls">
<list>
<value>ldap://elvis/</value>
</list>
</property>
<property name="baseEnvironmentProperties">
<map>
<entry>
<key>
<value>java.naming.security.authentication</value>
</key>
<value>simple</value>
</entry>
</map>
</property>
</bean>
Please help!
Cheers
--
Matthew Jones
Interactive Data Managed Solutions Ltd
-----------------------------------------------------------------------
Registered in England Company Number 3691868
Registered Office: Suite 1101 Eagle Tower | Montpellier Drive |
Cheltenham | Gloucestershire | GL50 1TA
Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109
matthew.jones at interactivedata.com
http://www.interactivedata-ms.com/694133
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2690 bytes
Desc: S/MIME Cryptographic Signature
Url : http://tp.its.yale.edu/pipermail/cas/attachments/20080729/1ca80514/attachment.bin
More information about the cas
mailing list