No. You can define multiple roles in web.xml. A simple way of doing so is to split your roles by directory.
/rolea/
/roleb/
/rolec/



-Tim

[EMAIL PROTECTED] wrote:



-----Original Message-----
From: Tim Funk
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)


With 3 days reading/trials, I'm coming to that conclusion.
Does that mean I need (effectively) an 'application'
under webapps/
for each page(s) that I need to restrict to different roles?
I have 3, so I'd need

/webapps
  /app1  (all those for role 1)
    x.html etc
    /web-inf
       web.xml
  /app2  (all those for role 2)
    x.html etc
    /web-inf
       web.xml
  /app3  (all those for role 3)
    x.html etc
    /web-inf
       web.xml

Is that the general picture?

regards DaveP



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



Reply via email to