users@glassfish.java.net

Can we use _at_RolesAllowed on a servlet?

From: Sarah kho <sarah.kho_at_gmail.com>
Date: Tue, 30 Mar 2010 18:38:47 +0430

Hi

Can you please let me know whether we can use @RolesAllowed on a Servlet or
not?
I am testing a Servlet with this annotation but even not authenticated users
can access the Servlet. Does it meant to be used on servlets as well?

thanks.