shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hazlewood <lhazlew...@apache.org>
Subject Re: Updated Session Management documentation
Date Fri, 05 Aug 2011 18:08:55 GMT
Sounds good - thanks very much for the feedback Chris.  I'll update
the documentation asap.

Best,

Les

On Fri, Aug 5, 2011 at 7:57 AM, Kynth <chris@kynth.com> wrote:
> 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.

Mime
View raw message