Need Help regarding JaasAuthenticationHandler using jdk 1.4

George, Janeve Janeve.George at lionbridge.com
Fri Jul 7 12:08:13 EDT 2006


Hi All,
 
I am having problem in authenticating user against an active directory. I am using 
 
--> j2sdk1.4.2.
--> Tomcat5.0.28.
--> CAS Server 3.0.5 RC2.
--> CAS Java Client.
 
I have followed the steps specified in the site: http://www.ja-sig.org/wiki/display/CAS/JAAS+Authentication+Handler for using JaasAuthenticationHandler  against an active directory. I have my jaas.conf  in {TOMCAT_HOME}/etc/jaas.conf  and set the 
environment variable CATALINA_OPTS as -Djava.security.auth.login.config=../etc/jaas.conf
 
jaas.conf contains:
 
CAS {
    edu.uconn.netid.jaas.LDAPLoginModule sufficient
    java.naming.provider.url=" ldaps://ad.my.org:636/dc=ad,dc=my,dc=org"
    java.naming.security.principal=" cas at ad.my.org"
    java.naming.security.credentials="myPassword"
    Attribute="sAMAccountName";
};
 
I am getting the following warning in tomcat console when I am trying to login using user name  <mailto:cas at ad.my.org> cas at ad.my.org and password myPassword and the login fails.
 
org.springframework.webflow.execution.repository.c onversation.impl.ConversationLockFactory createLock
WARNING: Unable to enable conversation locking. Switch to Java 5 or above, or put the 'util.concurrent' package on the classpath to enable locking in your environment.

I have added backport-util-concurrent.jar from http://dcl.mathcs.emory.edu/util/backport-util-concurrent/index.php into {TOMCAT_HOME}/common/lib, but still have the same warning coming up. Does anybody have any suggestions.
 
Regards,
Janeve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060707/5293d19e/attachment.html


More information about the cas mailing list