mirror of https://gitee.com/stylefeng/roses
【8.1.6】修改默认filter
parent
4a4ce9751d
commit
557f72adfc
|
@ -31,7 +31,6 @@ import cn.stylefeng.roses.kernel.security.xss.prop.XssProperties;
|
||||||
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
|
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
|
||||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
|
||||||
|
|
||||||
import static org.springframework.core.Ordered.HIGHEST_PRECEDENCE;
|
import static org.springframework.core.Ordered.HIGHEST_PRECEDENCE;
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ import static org.springframework.core.Ordered.HIGHEST_PRECEDENCE;
|
||||||
* @author fengshuonan
|
* @author fengshuonan
|
||||||
* @since 2021/1/13 23:05
|
* @since 2021/1/13 23:05
|
||||||
*/
|
*/
|
||||||
@Configuration
|
|
||||||
public class ProjectXssAutoConfiguration {
|
public class ProjectXssAutoConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||||
cn.stylefeng.roses.kernel.security.starter.ProjectSecurityAutoConfiguration,\
|
cn.stylefeng.roses.kernel.security.starter.ProjectSecurityAutoConfiguration,\
|
||||||
cn.stylefeng.roses.kernel.security.starter.ProjectXssAutoConfiguration,\
|
|
||||||
cn.stylefeng.roses.kernel.security.starter.CounterAutoConfiguration,\
|
cn.stylefeng.roses.kernel.security.starter.CounterAutoConfiguration,\
|
||||||
cn.stylefeng.roses.kernel.security.starter.CaptchaAutoConfiguration,\
|
cn.stylefeng.roses.kernel.security.starter.CaptchaAutoConfiguration,\
|
||||||
cn.stylefeng.roses.kernel.security.starter.cache.SecurityMemoryCacheAutoConfiguration,\
|
cn.stylefeng.roses.kernel.security.starter.cache.SecurityMemoryCacheAutoConfiguration,\
|
||||||
|
|
Loading…
Reference in New Issue