2 Replies Latest reply on Aug 31, 2011 3:15 AM by mark boletti

    Using security annotations in a Web application

    mark boletti Newbie

      Hi all !

      I have a web application running on JBoss 6 which uses web.xml and jboss-web.xml to specify the security domain. I wonder, is it possible to specify

      it rather with annotations in a Servlet ?



      @RolesAllowed( { "Admin" })

      public class SecureServlet extends HttpServlet {



      I've tried it, however it does not issue any authentication window.