Closed
Description
Describe the bug
spring.session.redis.namespace
Spring (Boot) property has no effect when using Spring Boot/Spring Session 3.5.0
This approach works:
@EnableRedisHttpSession(redisNamespace = "customnamespace:spring:session")
To Reproduce
Set spring.session.redis.namespace=customnamespace:spring:session
in the Spring Boot application.properties
file
Check redis keys using redis-cli, for example keys *
. End result is that the key does not start with customnamespace
Expected behavior
key in redis starting with customnamespace:spring:session
As the guide states it should work, if I can read the manual: https://docs.spring.io/spring-session/reference/configuration/redis.html#using-a-different-namespace
Sample
None