From 8a2f4067c2f7c1798edcccec8d36b7a78d2b17f1 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Thu, 5 Dec 2019 16:55:12 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=8C=87=E5=AE=9A=20JustAuth=20?= =?UTF-8?q?=E4=B8=AD=20RedisTemplate=20=E9=BB=98=E8=AE=A4=20Bean=20?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- pom.xml | 2 +- .../justauth/autoconfigure/JustAuthStateCacheConfiguration.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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());