[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

@@ -11,13 +11,14 @@
<modules>
<module>spring-bootstrap-sample</module>
<module>spring-bootstrap-actuator-sample</module>
<module>spring-bootstrap-actuator-ui-sample</module>
<module>spring-bootstrap-batch-sample</module>
<module>spring-bootstrap-data-sample</module>
<module>spring-bootstrap-integration-sample</module>
<module>spring-bootstrap-jetty-sample</module>
<module>spring-bootstrap-profile-sample</module>
<module>spring-bootstrap-simple-sample</module>
<module>spring-bootstrap-tomcat-sample</module>
<module>spring-bootstrap-profile-sample</module>
<module>spring-bootstrap-trad-sample</module>
<module>spring-bootstrap-ui-sample</module>
<module>spring-bootstrap-xml-sample</module>