Change RedisSerializer qualifier to springSessionDefaultRedisSerializer

Fixes gh-350
This commit is contained in:
Rob Winch
2016-02-04 15:23:05 -06:00
parent cc1d3a7e9e
commit 2d6a474c2c
3 changed files with 6 additions and 2 deletions

View File

@@ -565,6 +565,10 @@ You can use the following attributes to customize the configuration:
* **maxInactiveIntervalInSeconds** - the amount of time before the session will expire in seconds
* **redisNamespace** - allows configuring an application specific namespace for the sessions. Redis keys and channel ids will start with the prefix of `spring:session:<redisNamespace>:`.
===== Custom RedisSerializer
You can customize the serialization by creating a Bean named `springSessionDefaultRedisSerializer` that implements `RedisSerializer<Object>`.
[[api-redisoperationssessionrepository-storage]]
==== Storage Details