title: Spring boot, how to disable autoconfiguration of springSecurityFitlerChain
body: <p>I'm studying the Spring Security framework with Spring Boot, and one thing I dislike about boot is it's obscurity. There's so much magic happening, troubleshooting and customization is trial and error, guessing what is configured automatically and where. This is high risk in the security field, as misconfigured system may be compromised.</p>
  
  <p>I would like to replace <code>springSecurityFilterChain</code> with my own implementation. In vanilla Spring I would register <code>DelegatingFilterProxy</code> with a different name in <code>web.xml</code>, and implement corresponding bean. However, Spring boot apparently registers <code>springSecurityFilterChain</code> automatically if jars are present, and now I'm not sure if the auto configuration will back of just by declaring the <code>springSecurityFilterChain</code> in a traditional way, or will this lead to misconfigured system?</p>
  
  <p>Generally, I would like to understand Spring boot better, and not just guessing what is happening, where and how to take control of that area.</p>