We are not using any type of AOP as far as I know.  The resource class for
the Jersey rest endpoints are simple written /configured with @Path info
like the sample 

         (That resource class/endpoint method i posted before is found in
the my.web.packages)

and set up on the embedded Jetty server like so:

          ResourceConfig rc = new PackagesResourceConfig(
              "my.web.packages");
         
          ServletHolder jerseyHolder = new ServletHolder(new
ServletContainer(rc));
          jerseyHolder.setName("REST API");
          myContext.addServlet(jerseyHolder, "/"); 

          ServletMapping mapping = new ServletMapping();
          ServletHandler servletHandler = myContext.getServletHandler();
          mapping.setServletName("REST API");
          mapping.setPathSpec("/*");
          servletHandler.addServletMapping(mapping);

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Securing-Jersey-resouces-with-Shiro-tp7225690p7225798.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to