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

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.
主站蜘蛛池模板: 临汾市| 桃源县| 保康县| 宁都县| 连州市| 峨眉山市| 曲靖市| 左云县| 巴林右旗| 开封县| 友谊县| 杭锦后旗| 正蓝旗| 华池县| 鹿邑县| 奉化市| 汉沽区| 南川市| 巨野县| 大庆市| 晴隆县| 淳安县| 定边县| 怀仁县| 印江| 新野县| 临城县| 浙江省| 治县。| 施甸县| 尚志市| 施甸县| 绥德县| 奈曼旗| 喀喇沁旗| 扎兰屯市| 南汇区| 乡城县| 阿瓦提县| 贵定县| 桑植县|