新版仿ok交易所-后端
zyy
2025-09-15 f6a85a3f1f36b412daf60cac6d8ea9278cffa108
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
package com.yami.trading.security.common.adapter;
 
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
 
import java.util.Collections;
import java.util.List;
 
/**
 * 授权过滤器的配置
 *
 * @author admin
 */
public class DefaultAuthConfigAdapter implements AuthConfigAdapter {
    private static final Logger logger = LoggerFactory.getLogger(DefaultAuthConfigAdapter.class);
 
    public DefaultAuthConfigAdapter() {
        logger.info("not implement other AuthConfigAdapter, use DefaultAuthConfigAdapter... all url need auth...");
    }
 
    @Override
    public List<String> pathPatterns() {
        return Collections.singletonList("/*");
    }
 
    @Override
    public List<String> excludePathPatterns() {
        return Collections.emptyList();
    }
 
    @Override
    public List<String> maybeAuthUri() {
        return Collections.emptyList();
    }
}