You'll need this:
http://developer.ja-sig.org/maven2/org/jasig/cas/cas-server-support-ldap/3.2.1/cas-server-support-ldap-3.2.1.jar

As well as:
http://sourceforge.net/project/showfiles.php?group_id=73357&package_id=202038&release_id=560004

We package our handlers as separate jars so that you only need to include
the ones that you need.  You'll also need to include the Spring LDAP jars
since you're building this manually.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Tue, Jul 29, 2008 at 11:02 AM, Matthew Jones <
[EMAIL PROTECTED]> wrote:

> Martin Lamprechter wrote:
>
>> Matthew Jones schrieb:
>>
>>> 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
>>>
>> I guess you have to set up a filter - like this:
>> <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
>>    <property name="filter" value="uid=%u" />
>>    <property name="searchBase" value="ou=people,dc=rutgers,dc=edu" />
>>    <property name="contextSource" ref="contextSource" />
>> </bean>
>> [http://www.ja-sig.org/wiki/display/CASUM/LDAP]
>>
>
> Oh sure. I removed that bit to see if it was that causing the error but
> obviously not.
>
>  Have you added the cas-server-support-ldap-3.2.1.jar in your lib-folder?
>> It is located in your local modules-folder.
>>
>
> I don't have a local modules folder anywhere. Is that because I'm not using
> maven just the .war file?
>
> Then again,
> http://www.ja-sig.org/wiki/display/CASUM/CAS+Quickly+(LDAP,+Windows,+Apache+Directory+Server)<http://www.ja-sig.org/wiki/display/CASUM/CAS+Quickly+%28LDAP,+Windows,+Apache+Directory+Server%29>also
>  mentions copying that file from you "CAS installation" but I have no
> installation of CAS other than the .war file.
>
>
> 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
> [EMAIL PROTECTED]
> http://www.interactivedata-ms.com/694133
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to