> From: Andrew R Feller [mailto:[EMAIL PROTECTED] 
> Subject: RE: Tomcat DB2 JDBC issue
> 
> With all of this grief developing a LoginModule that is used 
> invoked on a Context basis, I have noticed there are lots of
> issues with classes loaded by the server/common classloaders
> in the LoginModule that are also needed by the webapp.

For our custom JAAS login module, we simply follow the rules given at:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JAASRealm

In particular:

"3. Place the compiled classes on Tomcat's classpath"

We do this via the -cp used to launch Tomcat.  This allows Tomcat and
all webapps to see the necessary classes (although I don't think we have
any webapps at the moment that actually look).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
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