From 2bf06c6ef26fcf3fbc90242157645430f4daf649 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 11 Jun 2018 17:06:22 -0700 Subject: [PATCH] Update README.md Update README.md --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1524dcb9d..a1f506f1f 100644 --- a/README.md +++ b/README.md @@ -139,10 +139,11 @@ redisSessionDAO = org.crazycake.shiro.RedisSessionDAO # # redisSessionDAO.expire = -# Custom your redis key prefix for session management, if you doesn't define this parameter, shiro-redis will use 'shiro_redis_session:' as default prefix +# Custom your redis key prefix for session management +# Default value is "shiro:session:" # Note: Remember to add colon at the end of prefix. # -# redisSessionDAO.keyPrefix = +# redisSessionDAO.keyPrefix = # Use redisManager as cache manager redisSessionDAO.redisManager = $redisManager @@ -188,9 +189,11 @@ cacheManager = org.crazycake.shiro.RedisCacheManager # cacheManager.keySerializer = $cacheManagerKeySerializer -# Custom your redis key prefix for cache management, if you doesn't define this parameter, shiro-redis will use 'shiro_redis_session:' as default prefix +# Custom your redis key prefix for cache management +# Default value is "shiro:cache:" # Note: Remember to add colon at the end of prefix. -cacheManager.keyPrefix = shiro:cache: +# +# cacheManager.keyPrefix = # Use redisManager as cache manager cacheManager.redisManager = $redisManager @@ -285,7 +288,7 @@ spring.xml: - + @@ -307,9 +312,11 @@ spring.xml: + @@ -334,7 +341,7 @@ If you use redis sentinel, here is an example of configuration : - -