The missing class will be defined in cas-server-support-ldap. Adding
this dependency to the webapp pom.xml should include it in the built
cas.jar
- <file:///O:/DocuShare/sso/cas-server-3.1.1/cas-server-webapp/pom.xml#>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${project.version}</version>
</dependency>
Or, as a quick fix you could copy cas-server-support-ldap-3.1.1.jar to
the cas WEB-INF/lib directory on the app server.
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonathan Hayward http://JonathansCorner.com
Sent: Tuesday, 4 December 2007 10:30 a.m.
To: Yale CAS mailing list
Subject: Re: Username/password authentication
I ran through that and got an error on trying to log in to CAS:
CAS is Unavailable
There was a fatal error initializing the CAS application context. This
is almost always because of an error in the Spring bean configuration
files. Are the files valid XML? Do the beans they refer to all exist?
Before placing CAS in production, you should change this page to present
a UI appropriate for the case where the CAS web application is
fundamentally broken. Perhaps "Sorry, CAS is currently unavailable."
with some links to your user support information.
The Throwable encountered at context listener initialization was:
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registering bean with name 'contextSource' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Bean class
[org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
found; nested exception is java.lang.ClassNotFoundException:
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
The Throwable encountered at dispatcher servlet initialization was:
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registering bean with name 'contextSource' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Bean class
[org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
found; nested exception is java.lang.ClassNotFoundException:
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
I built it incorporating changes from
http://www.ja-sig.org/wiki/display/CAS/Examples+to+Configure+CAS and
http://www.ja-sig.org/wiki/display/CASUM/LDAP .
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas