package com.qiuguo.iot.gateway.config.properties;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * Xss配置.
 *
 * @author yangning
 * @since 2023/4/7 18:31
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "security.xss")
public class XssProperties {
    
    /**
     * Xss开关.
     */
    private Boolean enabled;
    
    /**
     * 排除路径.
     */
    private List<String> excludeUrls = new ArrayList<>();
}
