Hello all,

We're using Tomcat 6.0.14 and we need to use JAAS for our webapp. We have a
custom login module and it's desirable for us to have the custom LoginModule
.jar inside the WEB-INF\lib directory of our webapp.

However with Tomcat 6 it appears we can only place the jar in the lib folder
of Tomcat, otherwise we get a 'SEVERE: Class com.devtest.auth.UserPrincipal
not found! Class not added' on startup. I can't find much information on
this issue, but the issue is perhaps better described here:
http://support.liferay.com/browse/LEP-2995;jsessionid=C72F970D8B99F4BD60185FB0A1567A8F?page=history

According to the link it is because Tomcat 6 performs a Class.forName()
lookup. 

Is there anyway around this?

Thanks,
Alan.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Tomcat-6.0.xx-and-JAAS-and-userContextClassLoader-tf4394188.html#a12529648
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to