CAS and LDAP configuration questions

Fluhr, Tim fluhrt at actforchildren.org
Thu Oct 4 16:09:05 EDT 2007


Thanks again all for being incredibly quick and tolerant with a noob.
 
my pom.xml includes the following...
 
    <dependency>
     <groupId>${project.groupId}</groupId>
     <artifactId>cas-server-support-ldap</artifactId>
     <version>${project.version}</version>
    </dependency>
 
So now must I run mvn package install from the cas-server-support-ldap
directory?  Will that then build the war with the proper jars?  After
that I place it in the webapps dir?
 
Thanks.
 
-tim

________________________________

From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu]
On Behalf Of Scott Battaglia
Sent: Thursday, October 04, 2007 2:52 PM
To: Yale CAS mailing list
Subject: Re: CAS and LDAP configuration questions


The first line of your stack trace tells you the problem :-)


java.lang.ClassNotFoundException:
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource

You're missing the required LDAP jars (or there is a typo I am not
seeing).  You forgot to include the dependency in the 
pom.xml for cas-server-webapp.

Once you add it, and then run "mvn package" again it should generate a
war with the correct jars.

-Scott


On 10/4/07, Fluhr, Tim <fluhrt at actforchildren.org> wrote: 

	Hello.
	 
	I have changed deployerConfigContext and pom.xml and now I no
longer get a login page.  I get a 404 error.  I attached the tail of
catalina.out.
	 
	Thanks for the help all.  I'm quite new to this so im learning
as I go.
	 
	-tim

________________________________

	From: cas-bounces at tp.its.yale.edu
[mailto:cas-bounces at tp.its.yale.edu] On Behalf Of Scott Battaglia
	Sent: Thursday, October 04, 2007 2:04 PM
	To: Yale CAS mailing list
	Subject: Re: CAS and LDAP configuration questions
	
	
	
	This may help:
	http://www.ja-sig.org/wiki/display/CASUM/LDAP
	
	-Scott
	
	
	On 10/4/07, Richard Kheir <richard.kheir at villanova.edu> wrote: 

		... Check for the connection type for your LDAP and set
the correct authentication handler with the correct settings.

		 

		From: cas-bounces at tp.its.yale.edu
[mailto:cas-bounces at tp.its.yale.edu] On Behalf Of Fluhr, Tim
		Sent: Thursday, October 04, 2007 2:28 PM
		To: cas at tp.its.yale.edu
		Subject: CAS and LDAP configuration questions

		 

		Hello all.

		 

		I'm trying to get CAS to authenticate against my LDAP
but I think I am missing something.  I am able to authenticate using the
NetID=password method without any problems.  I am not able to, however,
authenticate using any valid LDAP credentials.  I get the following
errors...

		 

		The credentials you provided cannot be determined to be
authentic.

		 

		and from catalina.out...

		 

		2007-10-04 13:24:15,248 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
<AuthenticationHandler:
org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordA
uthenticationHandler failed to authenticate the user which provided the
following credentials: drupal>

		 

		Do I have to create a cas.war in the
cas-server-support-ldap directory and then move it to webapps?  This is
where I am stuck.  Any help would be appreciated.

		
		Thanks.

		 

		-tim


		_______________________________________________
		Yale CAS mailing list
		cas at tp.its.yale.edu
		http://tp.its.yale.edu/mailman/listinfo/cas
		
		




	-- 
	-Scott Battaglia
	
	LinkedIn: http://www.linkedin.com/in/scottbattaglia 

	_______________________________________________
	Yale CAS mailing list
	cas at tp.its.yale.edu
	http://tp.its.yale.edu/mailman/listinfo/cas
	
	
	




-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071004/9b1cbb8c/attachment.html 


More information about the cas mailing list