Change RedisOperationsSessionRepository.BOUNDED_HASH_KEY_PREFIX

Previously the key contained spring-security-sessions in it since the
project was originally going to be a part of Spring Security.

This commit moves it to spring:session:sessions: to better align with
being part of Spring Session

Fixes #46
This commit is contained in:
Rob Winch
2014-10-08 22:01:25 -05:00
parent 6a22a11187
commit 07ff3088bf

View File

@@ -97,7 +97,7 @@ public class RedisOperationsSessionRepository implements SessionRepository<Redis
/**
* The prefix for each key of the Redis Hash representing a single session. The suffix is the unique session id.
*/
static final String BOUNDED_HASH_KEY_PREFIX = "spring-security-sessions:";
static final String BOUNDED_HASH_KEY_PREFIX = "spring:session:sessions:";
/**
* The key in the Hash representing {@link org.springframework.session.ExpiringSession#getCreationTime()}