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
| package com.yami.trading.security.common.adapter;
|
| import java.util.List;
|
| /**
| * 授权过滤器的配置 接口
| * @author admin
| */
| public interface AuthConfigAdapter {
|
| /**
| * 需要授权登陆的路径
| * @return
| */
| List<String> pathPatterns();
|
| /**
| * 不需要授权的路径
| * @return
| */
| List<String> excludePathPatterns();
|
| /**
| * 不需要登录 可访问的接口
| * @return
| */
| List<String> maybeAuthUri();
| }
|
|