Skip to content

Commit 4a401bf

Browse files
committed
Adapt to breaking changes in Spring Session Data Redis
See gh-30639
1 parent 3dc8848 commit 4a401bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/RedisSessionConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-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.
@@ -33,7 +33,7 @@
3333
import org.springframework.session.data.redis.RedisIndexedSessionRepository;
3434
import org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction;
3535
import org.springframework.session.data.redis.config.ConfigureRedisAction;
36-
import org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration;
36+
import org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration;
3737

3838
/**
3939
* Redis backed session configuration.
@@ -66,7 +66,7 @@ ConfigureRedisAction configureRedisAction(RedisSessionProperties redisSessionPro
6666
}
6767

6868
@Configuration(proxyBeanMethods = false)
69-
public static class SpringBootRedisHttpSessionConfiguration extends RedisHttpSessionConfiguration {
69+
public static class SpringBootRedisHttpSessionConfiguration extends RedisIndexedHttpSessionConfiguration {
7070

7171
@Autowired
7272
public void customize(SessionProperties sessionProperties, RedisSessionProperties redisSessionProperties,

0 commit comments

Comments
 (0)