Username/password authentication
Jonathan Hayward http://JonathansCorner.com
christos.jonathan.hayward at gmail.com
Mon Dec 3 16:30:22 EST 2007
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 .
On Dec 3, 2007 2:33 PM, Dale Ogilvie <Dale.Ogilvie at trimble.co.nz> wrote:
> Jonathan,
>
> the approach I take is to download the binary release of 3.1.1, unzip that
> and "mvn -Dmaven.test.skip=true package install" in the cas-server-3.1.1top level directory.
>
> You'll need maven2 for this of course. I'm a maven newbie but this process
> seems to be working OK for our customizations.
>
> Regards
>
> Dale
>
> ------------------------------
> *From:* cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] *On
> Behalf Of *Jonathan Hayward http://JonathansCorner.com
> *Sent:* Tuesday, 4 December 2007 9:01 a.m.
> *To:* Yale CAS mailing list
> *Subject:* Re: Username/password authentication
>
> One other question:
>
> If I'm supposed to be building CAS, how should I be building it? The only
> build.xml I found was cas-server-webapp/src/test/webtest/build.xml . Have
> I checked out something other than what I should have been working off of?
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
--
++ Jonathan Hayward, jonathan.hayward at pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071203/19aa17fc/attachment.html
More information about the cas
mailing list