懒羊羊
2023-11-14 8286c62256f23bc2367a6729c0f46f84215e380b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package cn.stylefeng.guns.sys.core.auth.filter;
 
/**
 * 不需要身份验证的资源
 *
 * @author chenglong
 * @Date 2020/3/1 16:19
 */
public class NoneAuthedResources {
 
    /**
     * 前端接口资源
     */
    public static final String[] FRONTEND_RESOURCES = {
            "/assets/**",
            "/favicon.ico",
            "/activiti-editor/**"
    };
 
 
    /**
     * 不要权限校验的后端接口资源
     * <p>
     * ANT风格的接口正则表达式:
     * <p>
     * ? 匹配任何单字符<br/>
     * * 匹配0或者任意数量的 字符<br/>
     * ** 匹配0或者更多的 目录<br/>
     */
    public static final String[] BACKEND_RESOURCES = {
 
            //主页
            "/",
 
            // 锁屏
            "/system/lock",
 
            //获取验证码
            "/kaptcha",
 
            //rest方式获取token入口
            "/rest/login",
 
            //oauth登录的接口
            "/oauth/render/*",
            "/oauth/callback/*",
 
            //单点登录接口
            "/ssoLogin",
            "/sysTokenLogin",
 
            // 登录接口放开过滤
            "/login",
 
            // session登录失效之后的跳转
            "/global/sessionError",
 
            // 图片预览 头像
            "/system/preview/*",
 
            // 错误页面的接口
            "/error",
            "/global/error",
 
            // 测试多数据源的接口,可以去掉
            "/tran/**",
 
            //获取租户列表的接口
            "/tenantInfo/listTenants",
            "/productionOrdeInfo/**",
            "/equipmentInfo/**",
            "/workshopInfo/**",
            "/websocket/**",
            "/equipmentStatus/**",
            "/equipmentAlarm/**",
            "/passingStationCollection/**",
 
 
    };
 
}