I have, after a few abandoned attempts,  eventually solved this using Shiro's
TestUtilities class and a mechanism based on Countdown Latches to sequence
actions run in multiple threads.
A full explanation is at my blog
http://richardadams606blog.blogspot.co.uk/2014/11/running-multithreaded-junit-tests-with.html
and code on Github at https://github.com/otter606/shiro-multithread-junit

Hope this is useful for someone!



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Acquiring-Shiro-session-for-multiple-users-simultaneously-in-JUnit-tests-tp7579604p7580313.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to