I figured out a way to do what I need.

I can get the variable I need in the doGetAuthenticationInfo method from the
shiro session using the following calls

Subject subject = SecurityUtils.getSubject();           
Session sess = subject.getSession(); 
String client = (String)sess.getAttribute("client");

I had previously set the session value for client in my Login class.

Im not sure if this is the best way to obtain values in the shiro filter but
it works for me here.

--
View this message in context: 
http://shiro-developer.582600.n2.nabble.com/JDBC-Realm-access-to-HttpSession-tp7028935p7030909.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Reply via email to