xyz.migoo.framework.web.config.XssProperties Maven / Gradle / Ivy
The newest version!
package xyz.migoo.framework.web.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import java.util.Collections;
import java.util.List;
/**
* Xss 配置属性
*
* @author xiaomi
*/
@ConfigurationProperties(prefix = "migoo.xss")
@Validated
@Data
public class XssProperties {
/**
* 是否开启,默认为 true
*/
private boolean enable = true;
/**
* 需要排除的 URL,默认为空
*/
private List excludeUrls = Collections.emptyList();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy