I have written a class implementing HealthIndicator, overriding the health-method. I return Health.down().withDetail(\"SupportServiceStatus\", \"UP\").build();<
Health.down().withDetail(\"SupportServiceStatus\", \"UP\").build();
I had this same problem, on version Spring Boot 1.5.9 I had to set
management.security.enabled=false