记得上下班打卡 | git大法好,push需谨慎

Commit 3f56deab authored by 张国柄's avatar 张国柄

tag:停用stone.ssovalid;

parent 34032ef9
package com.liquidnet.common.web.config;
import com.liquidnet.common.web.filter.GlobalAuthorityInterceptor;
import com.liquidnet.common.web.filter.GlobalLogTrackInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
......@@ -10,7 +11,9 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupp
@Configuration
public class WebMvcConfig extends WebMvcConfigurationSupport {
@Autowired
GlobalLogTrackInterceptor globalLogTrackInterceptor;
public GlobalLogTrackInterceptor globalLogTrackInterceptor;
@Autowired
public GlobalAuthorityInterceptor globalAuthorityInterceptor;
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
......
......@@ -14,7 +14,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import org.springframework.util.AntPathMatcher;
import org.springframework.util.CollectionUtils;
......@@ -64,8 +63,7 @@ public class GlobalAuthorityInterceptor extends HandlerInterceptorAdapter {
@Autowired
JwtValidator jwtValidator;
@Autowired
@Lazy
@Autowired(required = false)
FeignAuthorityClient feignAuthorityClient;
@Override
......
......@@ -126,7 +126,7 @@ global-auth:
- ${liquidnet.info.context}/user/logs/in2111
- ${liquidnet.info.context}/user/logs/de2111
oncheck-url-pattern:
- ${liquidnet.info.context}/**
# - ${liquidnet.info.context}/**
# -----------------------------------------------------------
......
......@@ -8,8 +8,6 @@ import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
@Configuration
public class StoneWebMvcConfig extends WebMvcConfig {
@Autowired
GlobalAuthorityInterceptor globalAuthorityInterceptor;
@Override
protected void addInterceptors(InterceptorRegistry registry) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment