mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Explcitly state in docs that Spring Security is required
... if you use management.security.* properties Fixes gh-595
This commit is contained in:
parent
5ed49462c4
commit
d119336f70
@ -294,8 +294,8 @@ based deployments. If, however, your application runs inside your own data cente
|
|||||||
may prefer to expose endpoints using a different HTTP port.
|
may prefer to expose endpoints using a different HTTP port.
|
||||||
|
|
||||||
The `management.port` property can be used to change the HTTP port. Since your management
|
The `management.port` property can be used to change the HTTP port. Since your management
|
||||||
port is often protected by a firewall, and not exposed to the public, you might also
|
port is often protected by a firewall, and not exposed to the public. If you have Spring
|
||||||
want to disable management security:
|
Security on the classpath, you might also want to disable management security:
|
||||||
|
|
||||||
[source,properties,indent=0]
|
[source,properties,indent=0]
|
||||||
----
|
----
|
||||||
@ -303,7 +303,8 @@ want to disable management security:
|
|||||||
management.security.enabled=false
|
management.security.enabled=false
|
||||||
----
|
----
|
||||||
|
|
||||||
|
(If you don't have Spring Security on the classpath then there is no need to explicitly
|
||||||
|
disable the management security in this way, and it might even break the application.)
|
||||||
|
|
||||||
[[production-ready-customizing-management-server-address]]
|
[[production-ready-customizing-management-server-address]]
|
||||||
=== Customizing the management server address
|
=== Customizing the management server address
|
||||||
|
Loading…
Reference in New Issue
Block a user