I found a massive amount of blog posts and questions on stackoverflow on how to disable security in spring boot - but none of it seems to work with spring boot 2.2.4.
I'm asking because I want to configuratively disable security for my dev and test profile so that we can deploy without generating jwt tokens all the time.
The most promising approach from my perspective is to exclude the SecurityAutoConfiguration class via the properties file but as said the exclusion has no effect.
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration
The other properties such as management.security.enabled seem to be deprecated.