I just recently added getThis() to MethodInvocation interface for this purpose (see https://issues.apache.org/jira/browse/SHIRO-124) and implemented it for spring-aop and aspectJ support libs. This is supposed to give you the calling context - obviously still your responsibility how to do the permission check but see if that would help you.
Kalle On Mon, Feb 22, 2010 at 12:09 PM, aloleary <[email protected]> wrote: > > Yes.. the Spring AOP stuff works great. And how to give the AOP context on > how to execute the check is exactly what I'm trying to achieve. > > The proposed change is certainly heading in the right direction... just have > a think about Generics when brainstorming :-) > > > -- > View this message in context: > http://n2.nabble.com/Security-on-Generic-interfaces-tp4607155p4614685.html > Sent from the Shiro User mailing list archive at Nabble.com. >
