[bs-138] Add @OnManagementContext for management beans

User adds @OnManagementContext to a bean or @Configuration and
it should be included in the management context (if there is one)
whether it is the main context or a child.

Makes it easy to secure the management endpoints and keep
the rest open (see actuator-ui-sample).

[#50721675]
This commit is contained in:
Dave Syer
2013-05-29 15:59:59 +01:00
parent 729cfe813b
commit 3ba5f56808
21 changed files with 756 additions and 133 deletions

View File

@@ -18,11 +18,6 @@
<artifactId>spring-bootstrap</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-bootstrap-actuator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>