Skip to content

Commit

Permalink
add: shiro.ini启用Redis二级缓存时的文字提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Feb 24, 2017
1 parent 832cf8c commit b9cae29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wk-app/wk-web/src/main/resources/shiro.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[main]
# cacheManager
;-------------Redis作为shiro二级缓存时注释掉这里---------
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
cacheManager.cacheManagerConfigFile = classpath:ehcache.xml
;-------------Redis作为shiro二级缓存时注释掉这里---------

;-------------Redis作为shiro二级缓存时启用这里---------
;jedisAgent = org.nutz.integration.jedis.JedisAgent
Expand Down

0 comments on commit b9cae29

Please sign in to comment.