田源
2023-10-12 3d462841427d2f1f94358b46870ddabde4945ca6
Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/utils/TokenUtil.java
@@ -16,6 +16,7 @@
 */
package com.vci.ubcs.auth.utils;
import com.vci.ubcs.system.cache.NacosConfigCache;
import lombok.SneakyThrows;
import com.vci.ubcs.common.constant.TenantConstant;
import org.springblade.core.launch.constant.TokenConstant;
@@ -23,6 +24,7 @@
import org.springblade.core.tool.constant.BladeConstant;
import org.springblade.core.tool.utils.*;
import com.vci.ubcs.system.entity.Tenant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.oauth2.common.exceptions.UnapprovedClientAuthenticationException;
import org.springframework.security.oauth2.common.exceptions.UserDeniedAuthorizationException;
@@ -85,6 +87,8 @@
   public final static String REFRESH_TOKEN_KEY = "refresh_token";
   private static BladeTenantProperties tenantProperties;
   @Autowired
   private static NacosConfigCache nacosConfigCache;
   /**
    * 获取租户配置