I'm trying to disable spring security in spring boot 2.0.2 by adding the security.ignore=/**
property but It's not working with me.
My application.properties:
spring.datasource.url = jdbc:mysql://localhost:3306/smile
spring.datasource.username = root
spring.datasource.password =
spring.datasource.driverClassName = com.mysql.jdbc.Driver
spring.jpa.hibernate.ddl-auto = update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# suppress inspection "SpringBootApplicationProperties"
security.ignored=/**
The result:
Add this Java Annotations in your main file spring boot application.
@EnableAutoConfiguration(exclude = {
SecurityAutoConfiguration.class
})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With