【8.1.6】修改默认filter

dev-8.1.9
fengshuonan 2024-05-01 23:04:49 +08:00
parent 4a4ce9751d
commit 557f72adfc
2 changed files with 0 additions and 3 deletions

View File

@ -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 {
/** /**

View File

@ -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,\