上QQ阅读APP看书,第一时间看更新
MicroProfile Health Check and JWT Propagation
In this chapter, we will introduce the MicroProfile Health Check and JSON Web Token (JWT) Propagation projects. The Health Check project is concerned with exposing the application-defined health to the outside world, and JWT Propagation is concerned with defining an interoperable security token and use of that token in an application. In this chapter, you will learn the concerns that these specifications address, their constructs, and how to use them in your application. The code snippets throughout this chapter are for reference only. If you would like a working code version of this specification, please refer to Chapter 8, A Working Eclipse MicroProfile Code Sample.
We will cover the following topics:
- What a health check is
- How MicroProfile Health Check exposes the health check endpoint and the format of a query to that endpoint
- How to write a MicroProfile Health Check for your application
- The required format for the tokens in MicroProfile JWT Propagation
- How we can leverage MicroProfile JWT Propagation for security decisions