Hello,
when using Shiro in a non-Spring webapp using the Shiro annotations and AspectJ
(as per the Shiro sample application) is it possible to somehow have access to
the member (or even the annotated method's) variables? For example, am I
somehow able to write something like:
@RequiresPermission("forum:readTopic:#forumID")
void readTopic(String forumID) {
...
}
or even,
@RequiresPermission("forum:readTopic:#forum.forumID")
void readTopic(MyBean forum) {
...
}
If this is more of an AspectJ-related question please accept my apologies as
I'm not a big AspectJ user.
Thanks!
-n-