# 第 17 章 管理 Spring

本章内容

* 设置 Spring Boot Admin
* 注册客户端应用程序
* 使用 Actuator 端点
* 保护 Admin 服务器的安全

俗话说，一图胜千言。对于众多的应用使用者来说，一个对用户友好的 Web 界面抵得上一千次 API 调用。别误解我，我是个命令行迷，非常喜欢使用 curl 和 HTTPie 来进行 REST API 调用。但是，有时手动键入命令行以调用 REST，然后目视检查返回结果，效率可能低于只需单击链接并在 web 浏览器中读取结果。

在上一章中，我们讨论了 Spring Boot Actuator。这些 HTTP 端点返回 JSON 响应数据，可以任意使用它们。在本章中，我们将了解如何创建底层基于 Actuator 的前端用户界面（UI）。使 Actuator 更易于使用，且可以实时捕获难以直接从 Actuator 获取的数据。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://potoyang.gitbook.io/spring-in-action-v5/di-17-zhang-guan-li-spring.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
