Hi Alan,

Kalle just committed the fix to this - please let us know if you see
any other issues.

Cheers,

Les

On Fri, Feb 19, 2010 at 12:26 PM, Les Hazlewood <[email protected]> wrote:
> Thanks for the feedback Al, much appreciated.
>
> And yes, the associateWith* methods are definitely staying in -
> they're the best way to dispatch Subject-enabled work to other
> threads.
>
> Regards,
>
> Les
>
> On Fri, Feb 19, 2010 at 11:11 AM, aloleary <[email protected]> wrote:
>>
>> Ok that's pretty much what I figured - just wanted to be 100% certain as
>> things suddenly stopped working and thought it might have been on my side..
>>
>> I think in my particular case it's ok for me to manage as it is a client
>> application running in either Swing or JavaFX with a java/spring/shiro core
>> layer...
>>
>> JavaFX/Swing apps need strict thread management as they are inherently
>> single threaded on the presentation side - but there can be many
>> background/worker threads.
>>
>> Here I can use both of the following to allow me to use shiro in my case:
>>
>> ThreadContext.bind(currentUser);
>> currentUser.associateWith(callable)
>>
>> So the UI which has a reference to the Subject can always call associate
>> with if it fires off background thread(s)
>>
>> Do you see any issues with this ? I assume using
>> currentUser.associateWith(callable) is still ok ?
>>
>> Thanks
>> -A-
>>
>>
>>
>> --
>> View this message in context: 
>> http://n2.nabble.com/SecurityUtils-getSubject-issue-tp4597560p4598657.html
>> Sent from the Shiro User mailing list archive at Nabble.com.
>>
>

Reply via email to