Confine to a certain directory: yes since that is a context. 
 
i noticed the connection url you are using is different than mine. Mine is from 
the 5.5. doc and includes the password and user name in it.I am presuming the 
database with your users and users_roles tables is named ERP. I am also 
presuming the userid and password for the connection is not supposed to come 
from ERP. 
 
some additional thoughts and questions if you haven't already solved the 
problem:
 
In the server xml where did you place the realm statement? 
if you placed it in the at the engine level then did did you comment out the 
realm statement for the userdatabaserealm in the engine level.  if 
userdatabasrealm comes after jdbc realm then it take precedence over jdbc.
 
hope this helps
 
-andy

±ç¬±³õ <[EMAIL PROTECTED]> wrote:
I have server.xml, no resource-env-ref nor manager.xml
My context.xml is within meta-inf directory.

The problem still persists.
Can I confine the prompt of username and password of JDBCRealm to
certain directory only?

such as
http://localhost:8080/welcome.jsp, does not prompt
http://localhost:8080/erp, prompt
http://localhost:8080/quotation, does not prompt

Thanks


2005/10/21, Paul Singleton 
:
> Caldarale, Charles R wrote:
>
> > ... Note that you cannot
> > manually edit tomcat-users.xml while Tomcat is running, since Tomcat
> > rewrites it at some point (probably at termination, but I haven't
> > verified that).
>
> Does anyone else find that 5.5.9 rewrites it with these
> permissions under Linux?
>
> -rw-rw-r-- 1 tomcat tomcat 439 Oct 2 20:01 tomcat-users.xml
>
> Since it contains a plaintext password this is a security
> risk.
>
> Paul Singleton
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/Oct/2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Reply via email to