官术网_书友最值得收藏!

Implementing security

It is important to secure the microservices. This will be more significant when there are many microservices communicating with each other. Each service needs to be secured, but at the same time, security shouldn't surface as an overhead. In this section, we will learn some basic measures to secure microservices.

The full source code of this example is available as the chapter3.security project in the code files of this book under the following Git repository: https://github.com/rajeshrv/Spring5Microservice

Perform the following steps for building this example:

  • Create a new Spring Starter project, and select Web and Security (under core)
  • Name the project as chapter3.security
  • Copy rest endpoint from chapter3.bootrest
主站蜘蛛池模板: 宿迁市| 富源县| 利川市| 巴林左旗| 琼海市| 隆德县| 房山区| 哈尔滨市| 廊坊市| 武清区| 乌审旗| 鹤壁市| 铜川市| 清流县| 石门县| 绵竹市| 弥勒县| 江达县| 和政县| 武鸣县| 启东市| 汉川市| 伊春市| 永寿县| 武隆县| 南雄市| 开江县| 蓝山县| 定西市| 绍兴市| 阳新县| 托里县| 介休市| 平顶山市| 六枝特区| 瑞金市| 荣昌县| 申扎县| 鹿泉市| 剑阁县| 丰顺县|