OK I think i got it. The idea is to create an interceptor which creates a
Subject before each EJB call and binds it to the current thread. Basically
doing what ShiroFilter does for web apps.

The only problem now is the creation of the subject. To do so, we need the
session key/id to get the session of the current user. But I don't want to
pass the sessionID as argument in every EJB method. Is there a good solution
to get the session id?
 



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-for-EJB-jar-with-Swing-Client-tp7578790p7578791.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to