首页>代码>springboot基于jwt完成服务的单点登录简单实例>/sso-demo/sso-article-server/src/main/java/com/article/conf/WebConf.java
package com.article.conf; import com.article.interceptor.SsoLoginInterceptor; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; /** * @author huangfu */ @Configuration public class WebConf implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new SsoLoginInterceptor()) .addPathPatterns("/**"); } }
最近下载更多
zhujunnan LV12
3月5日
heweimin LV12
2022年7月8日
1234mama LV19
2022年6月7日
sunlzh888888 LV28
2022年4月28日
taoshen95 LV14
2022年2月16日
lyws1986 LV17
2021年12月16日
Echo LV2
2021年11月24日
孤寒双月泪 LV14
2021年11月21日
xiaoxindu8 LV9
2021年9月17日
lironggang LV38
2021年8月16日