Sorry, my mistake!
It worked because in the meantime I removed /secure.
If I rebuild /secure, I can still access it without being authenticated.

Summary: I have web.xml for / and web.xml for /secure.
Without web.xml in /secure/web/WEB-INF I can not build /secure in the
web application.

How do I include /secure in the root web application?

Thanks

-- Rosaria


-----Original Message-----
From: Jon Eaves [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 17, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: problems with web.xml and security

Rosaria Silipo wrote:

> Thanks Carl,
> 
> Yes, I tried to see /secure as first thing and I can see it without
> authentication.
> I tried to close browser and restart it and I still could see it.
> Maybe the problem is on the web.xml of /secure. Is it possible?
> 
> -- Rosaria

If I'm reading your sentence correctly, then yes.

If /secure is a different web application than / (or ROOT)
then the different contexts will process different web.xml files.

The /* is relative to the root of the web application, not to
the Tomcat installation.

Cheers,
        -- jon

-- 
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon
Co-Author of "Apache Tomcat Bible", Wiley 2003


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

Reply via email to