I don't believe it works at the class level for Spring apps at the moment -
please open a Jira issue to capture this, and we can adress it for the next
release.  Patches welcome!!!

Cheers,

--
Les Hazlewood
CTO, Stormpath | http://stormpath.com <http://www.stormpath.com/> |
888.391.5282
twitter: @lhazlewood | http://twitter.com/lhazlewood
blog: http://leshazlewood.com
stormpath blog:
http://www.stormpath.com/blog<http://www.stormpath.com/blog/index>

On Wed, Apr 18, 2012 at 10:40 PM, andreys82 <[email protected]> wrote:

> Does @RequiresPermissions work on class level?
>
> In my Spring web application it only works for single methods but not works
> for the whole class.
>
> Its target is:
> @Target({ElementType.TYPE, ElementType.METHOD})
> So it seems to work for all the class methods. It would be very convinient.
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/RequiresPermissions-for-a-class-tp7479437p7479437.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to