@ -164,9 +163,9 @@ public class ManagementServerProperties implements SecurityPrerequisite {
@@ -164,9 +163,9 @@ public class ManagementServerProperties implements SecurityPrerequisite {
@ -181,12 +180,17 @@ public class ManagementServerProperties implements SecurityPrerequisite {
@@ -181,12 +180,17 @@ public class ManagementServerProperties implements SecurityPrerequisite {
@ -58,4 +73,32 @@ public class ManagementServerPropertiesAutoConfigurationTests {
@@ -58,4 +73,32 @@ public class ManagementServerPropertiesAutoConfigurationTests {
@ -996,7 +996,7 @@ content into your application; rather pick only the properties that you need.
@@ -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.
@ -520,14 +520,14 @@ TIP: Generated passwords are logged as the application starts. Search for '`Usin
@@ -520,14 +520,14 @@ 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 roles required to access the endpoints. For example, you might set the following
security role(s) required to access the endpoints. For example, you might set the following
in your `application.properties`:
[source,properties,indent=0]
----
security.user.name=admin
security.user.password=secret
management.security.role=SUPERUSER
management.security.roles=SUPERUSER
----
TIP: If you don't use Spring Security and your HTTP endpoints are exposed publicly,