From 9418b51cfdf8da9d9bcbd6c89661b60cedfcbcd0 Mon Sep 17 00:00:00 2001 From: zlt2000 Date: Tue, 1 Jun 2021 14:04:52 +0800 Subject: [PATCH] fix #I3TCGE --- .../central/oauth2/common/store/AuthJwtTokenStore.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zlt-commons/zlt-auth-client-spring-boot-starter/src/main/java/com/central/oauth2/common/store/AuthJwtTokenStore.java b/zlt-commons/zlt-auth-client-spring-boot-starter/src/main/java/com/central/oauth2/common/store/AuthJwtTokenStore.java index 3ad319ed..e23b3d41 100644 --- a/zlt-commons/zlt-auth-client-spring-boot-starter/src/main/java/com/central/oauth2/common/store/AuthJwtTokenStore.java +++ b/zlt-commons/zlt-auth-client-spring-boot-starter/src/main/java/com/central/oauth2/common/store/AuthJwtTokenStore.java @@ -30,13 +30,7 @@ import java.util.Map; */ @ConditionalOnProperty(prefix = "zlt.oauth2.token.store", name = "type", havingValue = "authJwt") public class AuthJwtTokenStore { - - @Bean("keyProp") - public KeyProperties keyProperties() { - return new KeyProperties(); - } - - @Resource(name = "keyProp") + @Resource private KeyProperties keyProperties; @Bean