I had some initial issues with a web proxy handing Maven a "Please
authenticate yourself" redirect when Maven tried to download its first XML
file. Those are solved now.

After that, I tried a rebuild, wiped Liferay's tmp directory, and bounced
Liferay. It's still authenticating username/username rather than
password/password.

On Dec 3, 2007 10:03 PM, Scott Battaglia <[EMAIL PROTECTED]> wrote:

> If you have correctly added the cas-server-support-ldap to the
> cas-server-webapp/pom.xml all you should need to do is run
> mvn -Dmaven.test.skip=true clean package install
>
> Then you'll find the war with the correct jars in
> cas-server-webapp/target/cas.war
>
> You'll want to delete any cas directory in the Tomcat webapps just to make
> sure your new one gets deployed correctly.
>
> -Scott
>
>
> On Dec 3, 2007 5:44 PM, Jonathan Hayward http://JonathansCorner.com <
> [EMAIL PROTECTED]> wrote:
>
> > I had already placed that in the webapp pom.xml, modulo a variable
> > interpolation for the groupId. I tried adding the jar to the CAS WEB-INF/lib
> > directory; I can't tell any improvement in the behaviour.
> >
> > Are there other possibilities?
> >
> > On Dec 3, 2007 4:15 PM, Dale Ogilvie <[EMAIL PROTECTED]> wrote:
> >
> > >  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
> > >
> > >  *-* <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
> > >
> > >
> >
> >
> > --
> > ++ Jonathan Hayward, [EMAIL PROTECTED]
> > ** 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
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
++ Jonathan Hayward, [EMAIL PROTECTED]
** 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
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to