package xtools.boot.db.druid.condig;

import org.springframework.stereotype.Component;
import xtools.boot.core.interfaces.FilterWhitelist;

import java.util.Set;

/**
 * <p>Title : DruidFilterWhitelist</p>
 * <p>Description : DruidFilterWhitelist</p>
 * <p>DevelopTools : Idea_x64_v2026.1</p>
 * <p>DevelopSystem : macOS Sequoia 15.7.5</p>
 * <p>Company : org.xujun</p>
 *
 * @author : XuJun
 * @version : 5.0.0
 * @date : 2026/3/8 12:28
 */
@Component
public class DruidFilterWhitelist implements FilterWhitelist {

    /**
     * 添加过滤器白名单
     *
     * @return 过滤器白名单
     */
    @Override
    public Set<String> add() {
        return Set.of(
                "/druid/**"
        );
    }
}
