You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix max inactive interval setters backwards compatibility
This commit restores integer based max inactive interval setters across all session repositories, that were migrated to java.time in 6d74cf5.
This change caused problems building our Spring Boot based samples, as Spring Boot auto-configuration has move to session repository customizer based approach and is therefore using max inactive interval setters directly on session repository implementations.
Copy file name to clipboardExpand all lines: spring-session-data-mongodb/src/main/java/org/springframework/session/data/mongo/MongoIndexedSessionRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,19 @@ public void setDefaultMaxInactiveInterval(Duration defaultMaxInactiveInterval) {
Copy file name to clipboardExpand all lines: spring-session-data-mongodb/src/main/java/org/springframework/session/data/mongo/ReactiveMongoSessionRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,19 @@ public void setDefaultMaxInactiveInterval(Duration defaultMaxInactiveInterval) {
Copy file name to clipboardExpand all lines: spring-session-data-redis/src/main/java/org/springframework/session/data/redis/ReactiveRedisSessionRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,19 @@ public void setDefaultMaxInactiveInterval(Duration defaultMaxInactiveInterval) {
Copy file name to clipboardExpand all lines: spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisIndexedSessionRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -379,6 +379,19 @@ public void setDefaultMaxInactiveInterval(Duration defaultMaxInactiveInterval) {
Copy file name to clipboardExpand all lines: spring-session-hazelcast/src/main/java/org/springframework/session/hazelcast/HazelcastIndexedSessionRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,19 @@ public void setDefaultMaxInactiveInterval(Duration defaultMaxInactiveInterval) {
0 commit comments