You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by rchristy <rc...@skyroadasp.com> on 2010/10/27 19:50:49 UTC
Re: how to realize multi threaded single sign-on
Hi Les,
I am actually looking at Gigaspaces and using its distributed cache feature
along with some other features provided by the product. Looking at your
example code, are you saying I can use EnterpriseCacheSessionDAO as is or
is that just a sample implementation i can use. Looking at the source code,
it looks more like just a sample implementation to me unless I am missing
something. Otherwise I am not following how to put the hook into to invoke
Gigaspace APIs (or any other 3rd party implementation of a distributed
cache).
Thanks,
Rich
sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
sessionDAO.cacheManager = $myClusteredCacheManager
securityManager.sessionMode = native
securityManager.sessionManager.sessionDAO = $sessionDAO
# it is also recommended to use this cache manager for
# other Shiro caching as well:
securityManager.cacheManager = $myClusteredCacheManager
--
View this message in context: http://shiro-user.582556.n2.nabble.com/how-to-realize-multi-threaded-single-sign-on-tp5204196p5679654.html
Sent from the Shiro User mailing list archive at Nabble.com.