tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <arjaqu...@mindspring.com>
Subject Re: JNDI resources available to auth realms?
Date Fri, 07 Jan 2005 16:18:29 GMT
> Thanks for your patches -- I've been using them!  In my JAAS

Glad to hear it!

> make in this area.  Also, it seems that JNDI *should* work from within
> the LoginModule since it's documented (by example) in the API docs:
>
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ 
> apache/catalina/realm/JAASRealm.html

I'll take responsibility for that, since I wrote that particular part  
of the documentation. It is a fictitious JAAS configuration entry; as  
you noted, it doesn't actually work. Hence, this e-mail thread.

> Speaking of the JAASRealm, I tried to get my LoginModule to load from
> my webapp's classpath, but with no success.  So, what does the
> "useContextClassLoader" do, exactly?

That property controls which classloader loads the LoginModule (and,  
presumably, all of the resources it depends on). Here's the Bugzilla  
entry on it:

http://issues.apache.org/bugzilla/show_bug.cgi?id=29406

> Thanks,
>
> Ian Flanigan

If I don't hear anything from other list members, I wlll probably file  
a bug report.

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message