Conditionally Disabling or Overriding Spring Boot Security Auto-Configuration.

Ravinder Thirumala
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

Ravinder Thirumala

Java enthusiast and open source contributor