> From: Stephen More [mailto:[EMAIL PROTECTED]
> Subject: JAASRealm problem moving from 5.5.23 -> 5.5.26
>
> Just after that I am seeing a SEVERE message that it can not find my
> classes where I extend javax.security.Principal. These classes can be
> found in the deployed war file.

Which is not where they're supposed to be.  To quote from the doc:  "Place the 
compiled classes on Tomcat's classpath"; note this is not the webapp's 
classpath.  This can be specified in Tomcat's startup scripts, or the classes 
can be put in whatever you have java.endorsed.dirs set to.  The principal and 
role classes must not be packaged with the webapp, since the Realm is 
independent.

Here's the doc:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm

Packaging with the webapp may have erroneously "worked" in the past if you 
fiddled with the CLASSPATH environment variable, which can lead to lots of 
other nasty issues.

 - 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