gateway的无效打印信息去除
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ public class ShiroConfig {
|
|||||||
filterChainDefinitionMap.put("/newsWebsocket/**", "anon");//CMS模块
|
filterChainDefinitionMap.put("/newsWebsocket/**", "anon");//CMS模块
|
||||||
filterChainDefinitionMap.put("/vxeSocket/**", "anon");//JVxeTable无痕刷新示例
|
filterChainDefinitionMap.put("/vxeSocket/**", "anon");//JVxeTable无痕刷新示例
|
||||||
|
|
||||||
//性能监控 TODO 存在安全漏洞泄露TOEKN(durid连接池也有)
|
//性能监控
|
||||||
filterChainDefinitionMap.put("/actuator/**", "anon");
|
filterChainDefinitionMap.put("/actuator/**", "anon");
|
||||||
|
|
||||||
// 添加自己的过滤器并且取名为jwt
|
// 添加自己的过滤器并且取名为jwt
|
||||||
|
|||||||
-2
@@ -20,8 +20,6 @@ public class JeroGatewayApplication implements CommandLineRunner {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
ConfigurableApplicationContext applicationContext = SpringApplication.run(JeroGatewayApplication.class, args);
|
ConfigurableApplicationContext applicationContext = SpringApplication.run(JeroGatewayApplication.class, args);
|
||||||
String userName = applicationContext.getEnvironment().getProperty("jero.test");
|
|
||||||
System.err.println("user name :" +userName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user