You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by yockii <xu...@gmail.com> on 2012/08/27 03:41:04 UTC

shiro cache with new Spring3.1

the Spring3.1 has a new tag:  <cache:annotation-driven/> and it support
ehcache directly using bean config as follow:
 
<bean id="cacheManagerFactory"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"
     p:configLocation="classpath:ehcache.xml"/>
 
<bean id="cacheManager"
class="org.springframework.cache.ehcache.EhCacheCacheManager"
   p:cacheManager-ref="cacheManagerFactory"/>

how can I use spring3.1 with its cache tag and use cache in shiro?



--
View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-cache-with-new-Spring3-1-tp7577743.html
Sent from the Shiro User mailing list archive at Nabble.com.