fix,rollback

This commit is contained in:
Calvin
2012-03-29 01:06:34 +08:00
parent 48e4e9a053
commit ffbfa8b4ca
@@ -35,8 +35,11 @@
<!-- 用户授权/认证信息Cache, 采用EhCache RMI集群 -->
<bean id="shiroCacheManager" class="org.apache.shiro.cache.ehcache.EhCacheManager">
<property name="cacheManagerConfigFile" value="classpath:/security/ehcache-shiro-rmi.xml"/>
<property name="cacheManager" ref="shiroEhcacheManager"/>
</bean>
<bean id="shiroEhcacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
<property name="configLocation" value="classpath:/security/ehcache-shiro-rmi.xml" />
</bean>
<!-- 保证实现了Shiro内部lifecycle函数的bean执行 -->
<bean id="lifecycleBeanPostProcessor" class="org.apache.shiro.spring.LifecycleBeanPostProcessor"/>