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

Spring Cloud Security

This module is like an extension from Spring Security. However, distributed systems have different requirements for security. Normally, they have central identity management, or the authentication lies with the clients in the case of REST APIs. Normally, in distributed systems, we have microservices, and these services might have more than one instance in the runtime environment whose characteristics make the authentication module slightly different from monolithic applications. The module can be used together with Spring Boot applications and makes the OAuth2 implementation very easy with a couple of annotations and a few configurations. Also, some common patterns are supported, such as single sign-on, token relay, and token exchange.

For the microservice applications based on the Spring Cloud Netflix, it is particularly interesting because it enables downstream authentication to work with a Zuul proxy and offers support from Feign clients. An interceptor is used to fetch tokens.

Some commons annotations are  @EnableOAuth2Sso and  @EnableResourceServer.
主站蜘蛛池模板: 拉孜县| 汝城县| 石狮市| 泽州县| 双柏县| 隆安县| 嵊州市| 汝南县| 铜山县| 台东市| 祥云县| 公安县| 托克托县| 鹿泉市| 西和县| 蒲城县| 祁门县| 屯门区| 临安市| 察雅县| 牙克石市| 黎平县| 永年县| 香港 | 旬邑县| 永州市| 黄陵县| 乌鲁木齐县| 政和县| 永宁县| 盘锦市| 临江市| 麻栗坡县| 革吉县| 夏河县| 雅安市| 元氏县| 荔波县| 建宁县| 财经| 北票市|