tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Basic Authentication with Tomcat
Date Mon, 18 Aug 2008 21:15:19 GMT
Tom Cat wrote:
> 		<url-pattern>/myAdmin/admin.html</url-pattern>

This should be:

> I think this should be enough to require authentication when someone
> goes to http://localhost:8080/myAdmin/admin.html on the local machine.
> And yet, it allows everyone access to the page, without even prompting
> for any sort of authentication. Anyone have an idea why?

You don't need to include the context path when defining security
constraints (or any other url-pattern) in web.xml


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message