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 : - -