This sounds really interesting.. would you have an example of what the
client code might look like ? I'm not too familiar with how to invoke
getThis..

do I add JoinPoint and access that way ?

-A


On Mon, Feb 22, 2010 at 8:35 PM, kaosko [via Shiro User]
<[email protected]> wrote:
> 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 <[hidden email]> 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.
>>
>
>
> ________________________________
> View message @
> http://n2.nabble.com/Security-on-Generic-interfaces-tp4607155p4614803.html
> To start a new topic under Shiro User, email
> [email protected]
> To unsubscribe from Shiro User, click here.
>

-- 
View this message in context: 
http://n2.nabble.com/Security-on-Generic-interfaces-tp4607155p4615251.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to