I'm having an issue enabling session caching when using ShiroFilter.

---
javax.servlet.ServletException:
org.apache.shiro.config.ConfigurationException: Property
'sessionManager.sessionDAO' does not exist for object of type
org.apache.shiro.web.mgt.DefaultWebSecurityManager.
---

After tracing it through, I found the following:
securityManager.sessionManager.sessionDAO = $sessionDAO

sessionManager is from SessionsSecurityManager and sessionDAO is from
DefaultSessionManager (also inherited to DefaultWebSessionManager)

My assumption is that DefaultWebSessionManager is used, but that doesn't
seem to be the case since the property isn't available.

Then I tried adding these 2 lines in the shiro.ini file, but it didn't help.
It actually throws an error as well.

securityManager.sessionManager =
org.apache.shiro.session.mgt.DefaultWebSessionManager

Can you point out what could have gone wrong? I have no problem at all for
non-web.

Thanks,
Jack

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Problem-with-sessionDAO-and-WebFilter-tp6464439p6464439.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to