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.
