This content has been marked as final.
Show 2 replies
-
1. Re: security support only for public methods
cash1981 Sep 14, 2009 12:41 PM (in response to lucas84)Well in that case just do this in the method:
Identity.instance().hasRole("myRole")
-
2. Re: security support only for public methods
lucas84 Sep 14, 2009 1:02 PM (in response to lucas84)thx 4 reply,
I know I can do that manually (this is my temporary workaround), but I want to separate this logic (checking and asserting restriction) from my business logic by annotating method with @Restrict. That's why I wonder whether vendors made it in some purpose (which is unknown for me), or it is a bug. Like I mentioned before scanning for other annotations is made on all methods