fix,rollback
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user