diff --git a/README.md b/README.md index fd09c10..1233622 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,7 @@ justauth: ### 4.2. SNAPSHOT版本 -![https://img.shields.io/badge/snapshots-1.3.1--SNAPSHOT-green](https://img.shields.io/badge/snapshots-1.3.1--SNAPSHOT-green)如果需要体验快照版本,可以在你的 `pom.xml`进行如下配置: +![https://img.shields.io/badge/snapshots-1.3.2--SNAPSHOT-green](https://img.shields.io/badge/snapshots-1.3.2--SNAPSHOT-green)如果需要体验快照版本,可以在你的 `pom.xml`进行如下配置: ```xml diff --git a/pom.xml b/pom.xml index 7c25e9a..e7451fb 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ com.xkcoding.justauth justauth-spring-boot-starter - 1.3.1 + 1.3.2-SNAPSHOT justauth-spring-boot-starter https://github.com/xkcoding/justauth-spring-boot-starter diff --git a/src/main/java/com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration.java b/src/main/java/com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration.java index 51352a0..2dd3ffd 100644 --- a/src/main/java/com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration.java +++ b/src/main/java/com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration.java @@ -54,7 +54,7 @@ abstract class JustAuthStateCacheConfiguration { log.debug("JustAuth 使用 Redis 缓存存储 state 数据"); } - @Bean + @Bean(name = "justAuthRedisCacheTemplate") public RedisTemplate justAuthRedisCacheTemplate(RedisConnectionFactory redisConnectionFactory) { RedisTemplate template = new RedisTemplate<>(); template.setKeySerializer(new StringRedisSerializer());