【发布时间】:2017-12-01 11:44:13
【问题描述】:
在 Spring Boot 版本 2.0.0.M4 中设置属性 endpoints.sensitive 时,我在代码中出现以下警告。我现在如何配置它?
【问题讨论】:
标签: java spring spring-boot spring-boot-actuator
在 Spring Boot 版本 2.0.0.M4 中设置属性 endpoints.sensitive 时,我在代码中出现以下警告。我现在如何配置它?
【问题讨论】:
标签: java spring spring-boot spring-boot-actuator
默认情况下,执行器端点暴露在同一个端口上 提供常规的 HTTP 流量。注意不要意外暴露 如果您更改 management.security.enabled 敏感信息 属性。
对于 2.0.0.M4:Securing endpoints
【讨论】:
management.security.enabled 而不是endpoints.sensitive ?