You can but it is a PITA. The servlet spec doesn't do well for fine grained control of resources withoiut a lot of effort (in web.xml)

-Tim

[EMAIL PROTECTED] wrote:

With a single context is it possible
to have variant access roles for different child directories
or different html files within the single context?

/webapps
  /myapp
    a.html
    b.jsp
    c.html

Is it possible to configure 3 different roles for
a.html
b.jsp
c.html?

I.e. to restrict users to some or all of the 3 files?

From my trials to date I'm coming to the conclusion
it can't be done under tomcat.

I've not found any examples that use anything
other than <url-pattern>/repository/*</url-pattern>
in web.xml, within <security-constraints>




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



Reply via email to