Skip to content

Commit

Permalink
#87 return the RedisSerializer as bean, ensure it is instantiated and…
Browse files Browse the repository at this point in the history
… used in the context
  • Loading branch information
klu2 committed Nov 24, 2023
1 parent 4532030 commit 6b2691c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ class CachingAutoConfiguration {
@EnableRedisHttpSession
class RedisSessionConfig {
@Bean
fun springSessionDefaultRedisSerializer() {
SafeRedisSessionSerializer(RedisSerializer.java())
fun springSessionDefaultRedisSerializer(): RedisSerializer<*> {
return SafeRedisSessionSerializer(RedisSerializer.java())
}
}

Expand Down

0 comments on commit 6b2691c

Please sign in to comment.