Need Help regarding JaasAuthenticationHandler using jdk 1.4
Scott Battaglia
scott_battaglia at rutgers.edu
Fri Jul 7 14:26:53 EDT 2006
Janeve,
The warning should not stop anything from working (I get it to when I
run under Java 1.4).
You can set you logging up higher (i.e. ERROR) if it bothers you.
-Scott
George, Janeve wrote:
> 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 <mailto: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 /cas at ad.my.org/ <mailto: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
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
More information about the cas
mailing list