After digging around I think the most Shiro friendly way is to just follow
the following guidelines:

http://cwiki.apache.org/confluence/display/SHIRO/Subject

in my case (Swing/JavaFX) that is "associating with" the background
tasks/threads

            Subject currentUser = SecurityUtils.getSubject();
            currentUser.associateWith(backgroundWorker);





aloleary wrote:
> 
> I should say that my current approach to solve this involves creating my
> own ThreadLocal based implementation of:
> 
> LocalSessionManager
> 
> right approach ?
> 
> 



-- 
View this message in context: 
http://n2.nabble.com/Standalone-Multiple-Threads-tp4125328p4125848.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to