Hello,
I am using Shiro in a Single VM environment. There is multiple threads
and im finding using DefaultSecurityManager as per the Quickstart example
seems to have the idea of sessions per thread..
I am just wondering what is the best way to enable Subject currentUser =
SecurityUtils.getSubject(); to return the same ("current") subject from any
thread.
This is my main use case - the standalone client can have multiple users -
but only one single user at a time.
Is it possible to manually interact with sessions ? like Subject currentUser
= SecurityUtils.getSubject("for session");
Any advice appreciated .. cheers
--
View this message in context:
http://n2.nabble.com/Standalone-Multiple-Threads-tp4125328p4125328.html
Sent from the Shiro User mailing list archive at Nabble.com.