tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCutcheon <>
Subject @DenyAll does nothing
Date Wed, 02 Mar 2011 06:54:37 GMT
I'm using Tomcat 7.0.8.

I have a servlet with a doGet method that has a @DenyAll annotation 
applied to it.

However, when I run the servlet, it seems to make no difference, and 
doGet is still called.

It was my understanding that @DenyAll was supposed to prevent access to 
the method on which it is applied.

Do I need to turn something on to get Tomcat to recognize the security 
annotations?  I can't get any of the security annotations to do anything.

Thanks for any help,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message