Skip to content

Commit 140cc75

Browse files
committed
Make RedisSessionRepository.DEFAULT_KEY_NAMESPACE public
Closes gh-2043
1 parent e157700 commit 140cc75

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisSessionRepository.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2020 the original author or authors.
2+
* Copyright 2014-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,7 +42,10 @@
4242
*/
4343
public class RedisSessionRepository implements SessionRepository<RedisSessionRepository.RedisSession> {
4444

45-
private static final String DEFAULT_KEY_NAMESPACE = "spring:session";
45+
/**
46+
* The default namespace for each key and channel in Redis used by Spring Session.
47+
*/
48+
public static final String DEFAULT_KEY_NAMESPACE = "spring:session";
4649

4750
private final RedisOperations<String, Object> sessionRedisOperations;
4851

0 commit comments

Comments
 (0)