spring-boot/spring-boot-samples/spring-boot-sample-actuator
Andy Wilkinson 2ce057ca96 Allow /health to be accessed anonymously irresepctive of its sensitivity
The changes in 3bb598a overload the health endpoint's sensitive
property such that it's now considered sensitive if management
security is enabled. When an endpoint is sensitive anonymous
access is prevented. This breaks the health endpoint which should
return a filtered view of the server's health when it's accessed
anonymously rather than rejecting the request.

This commit introduces AnonymouslyAccessibleMvcEndpoint, a marker
extension of the MvcEndpoint interface. It is implemented by
HealthMvcEndpoint. ManagementSecurityAutoConfiguration has been
updated to allow anonymous access to endpoints that aren't sensitive
or that implement AnonymouslyAccessibleMvcEndpoint.

Fixes gh-2015
2014-11-27 14:51:57 +00:00
..
src Allow /health to be accessed anonymously irresepctive of its sensitivity 2014-11-27 14:51:57 +00:00
build.gradle Fixup version numbers following release 2014-09-04 15:40:55 -07:00
build.xml Fixup version numbers following release 2014-09-04 15:40:55 -07:00
ivy.xml Declare all repositories in build samples 2014-03-25 16:00:55 -07:00
ivysettings.xml Declare all repositories in build samples 2014-03-25 16:00:55 -07:00
pom.xml Next development version 2014-09-04 12:15:18 -07:00