Yep, well according to the XSD that I'm using
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd but also
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd, <security-role-ref>
can only appear within a <servlet> definition. It could certainly help
if it was directly under web-app, but it ain't allowed so therefore it's
usefulness is limited :-(

Cheers,
Jason

On Thu, 2009-08-06 at 14:40 +0200, André Warnier wrote:
> Jason Royals wrote:
> > Thanks for the advice, but I think <security-role-ref> is only valid
> > within the context of a <servlet> element though? 
> 
> I have not checked, but are you sure ?  Is it not at the level of the 
> web-app ?  If so, it would apply to everything belonging to that webapp, 
> whether filters, servlets, jsp's, whatnot.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to