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;