Using the shiro.ini settings in the EHCache SessionDAO section:


> [main]
> sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
> securityManager.sessionManager.sessionDAO = $sessionDAO
> 
> cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
> securityManager.cacheManager = $cacheManager
> 

I receive the error:



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

I have had better results with:



> [main]
> 
> sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO 
> sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager 
> sessionManager.sessionDAO = $sessionDAO 
> securityManager.sessionManager = $sessionManager 
> cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
> securityManager.cacheManager = $cacheManager 
> 

Although I've still been unable to successfully cluster using Terracotta
given the other default cache and shiro.ini settings provided so far. I'll
post questions on that topic in another post and report back here later so
as not to clog up this thread.

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Updated-Session-Management-documentation-tp6550877p6656839.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to