Support configuration of multiple management roles

Closes gh-5045
This commit is contained in:
Vedran Pavic
2016-02-03 08:04:52 +01:00
committed by Stephane Nicoll
parent e9a226c8f8
commit 20fa1b3b48
5 changed files with 16 additions and 11 deletions

View File

@@ -996,7 +996,7 @@ content into your application; rather pick only the properties that you need.
management.context-path= # Management endpoint context-path. For instance `/actuator`
management.port= # Management endpoint HTTP port. Use the same port as the application by default.
management.security.enabled=true # Enable security.
management.security.role=ADMIN # Role required to access the management endpoint.
management.security.role=ADMIN # Roles required to access the management endpoint.
management.security.sessions=stateless # Session creating policy to use (always, never, if_required, stateless).
# HEALTH INDICATORS (previously health.*)

View File

@@ -520,7 +520,7 @@ TIP: Generated passwords are logged as the application starts. Search for '`Usin
security password`'.
You can use Spring properties to change the username and password and to change the
security role required to access the endpoints. For example, you might set the following
security roles required to access the endpoints. For example, you might set the following
in your `application.properties`:
[source,properties,indent=0]