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.

Reply via email to