zj
2025-10-17 bbc4713b23778aebc1eb3d46cb04d539179d883d
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();
    }
}