update to spring-boot-2.1.8.RELEASE & spring-cloud-Greenwich.SR3

This commit is contained in:
zlt
2019-10-04 21:45:37 +08:00
parent cbfe49e42a
commit eecaf5bb58
38 changed files with 93 additions and 117 deletions
@@ -1,7 +1,6 @@
package com.central.oauth.config;
import com.central.oauth.service.impl.RedisClientDetailsService;
import com.central.oauth2.common.annotation.EnableTokenStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Configuration;
@@ -30,7 +29,6 @@ import java.util.Arrays;
*/
@Configuration
@EnableAuthorizationServer
@EnableTokenStore
@AutoConfigureAfter(AuthorizationServerEndpointsConfigurer.class)
public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter {
/**
@@ -3,7 +3,6 @@ package com.central.oauth.handler;
import cn.hutool.core.util.StrUtil;
import com.central.oauth2.common.util.AuthUtils;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
+1 -1
View File
@@ -3,7 +3,7 @@ spring:
url: jdbc:mysql://${zlt.datasource.ip}:3306/oauth-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
username: ${zlt.datasource.username}
password: ${zlt.datasource.password}
driver-class-name: com.mysql.jdbc.Driver
driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml