|
|
|
@ -24,7 +24,6 @@ import javax.servlet.Filter;
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
@ -100,8 +99,6 @@ public class SpringBootWebSecurityConfiguration {
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
@ConditionalOnMissingBean({ IgnoredPathsWebSecurityConfigurerAdapter.class })
|
|
|
|
|
// @ConditionalOnBean(annotation = EnableWebSecurity.class)
|
|
|
|
|
@ConditionalOnBean(SpringBootWebSecurityConfiguration.class)
|
|
|
|
|
public SecurityConfigurer<Filter, WebSecurity> ignoredPathsWebSecurityConfigurerAdapter() {
|
|
|
|
|
return new IgnoredPathsWebSecurityConfigurerAdapter();
|
|
|
|
|
}
|
|
|
|
|