Spring-boot: Samples using the actuator without Spring Security now returns 401 (e.g. /flyway)

Created on 13 Dec 2016  路  5Comments  路  Source: spring-projects/spring-boot

I was looking at the sample on master and tried to run it with mvn spring-boot:run then visited the url http://localhost:8080/flyway and got a blank page back. I tried several different branches, and it works in the latest 1.4.x but not in 1.5.x starting on commit 7e9ed5e1a7529f59297320b940d0f498763b2286 where the version numbers were changed from 1.4.1.BUILD-SNAPSHOT to 1.5.0.BUILD-SNAPSHOT. Since there were no code changes in that commit itself, I'm guessing maybe some dependency changed which is what is actually breaking it?

Most helpful comment

We should use management.security.enabled=false

All 5 comments

This is a result of #6889. If things stay as they are (TBD at the moment) then we ought to update the sample.

All samples that uses the actuator without spring security are affected. Same thing for liquibase and probably others.

We should use management.security.enabled=false

@snicoll
management.security.enable=false must with spring security, right?

@Sutonline this issue is closed and we don't use the tracker for questions. Please join us on Gitter or ask on Stack Overflow

Was this page helpful?
0 / 5 - 0 ratings