Just to add to Les' reply, each web framework typically supplies its own Shiro integration. For Tapestry 5, the Shiro security annotations are supported out-of-the box via tapestry-security module (http://tynamo.org/tapestry-security+guide). I think there are similar integrations available for Wicket and Grails but haven't checked.
Kalle On Mon, Apr 18, 2011 at 10:22 PM, Les Hazlewood <[email protected]> wrote: > Hy Mylas, > > Yes, this is very possible, but it depends on the AOP framework you > want to use. For example, if you want to use AspectJ to enable > AOP/annotations, you can see the Shiro AspectJ sample application for > some ideas: > > https://svn.apache.org/repos/asf/shiro/trunk/samples/aspectj/ > > Also, if you're using a Spring application, there is built-in support > for enabling annotations, covered here: > > http://shiro.apache.org/spring.html > > What AOP framework are you using in your application? > > Cheers, > > Les > > On Mon, Apr 18, 2011 at 8:34 AM, mylas <[email protected]> wrote: >> I have not find any help to use @RequiresRoles and @RequiresPermissions in a >> web environnement. >> It this possible? >> >> Thanks. >> >> -- >> View this message in context: >> http://shiro-user.582556.n2.nabble.com/Using-RequiresRoles-and-RequiresPermissions-in-a-webapp-tp6284084p6284084.html >> Sent from the Shiro User mailing list archive at Nabble.com. >
