Selaa lähdekoodia

改回mysql数据库

my-csc-config-file.git 5 vuotta sitten
vanhempi
commit
51ffc7ca00

+ 2 - 2
src/main/java/com/unissoft/config/AuthorizationServerConfig.java

@@ -76,9 +76,9 @@ public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdap
76 76
     @Bean
77 77
     public TokenStore tokenStore() {
78 78
         // 存入数据库
79
-//        return new JdbcTokenStore(dataSource);
79
+        return new JdbcTokenStore(dataSource);
80 80
         //  存入redis
81
-        return new RedisTokenStore(redisConnectionFactory);
81
+//        return new RedisTokenStore(redisConnectionFactory);
82 82
     }
83 83
 
84 84
     //    配置授权服务器端点