Conditionally Disabling or Overriding Spring Boot Security Auto-Configuration.
2 min readMar 26, 2021
--
In this article, we’ll have a look at how to disable Security in Spring Boot application and how to customize Security Configuration. For better understanding, first we need to learn how to enable Auto-Configure of Security in the Spring Boot application
Spring Boot Security Auto-Configuration
In order to add security to our Spring Boot application, we need to add the security starter dependency, with gradle we can do that by adding