springcloud security gateway
时间: 2023-09-24 22:10:12 浏览: 172
SpringCloud Security Gateway是一个基于SpringCloud的微服务网关,它提供了对微服务的统一认证和授权功能。该网关使用了OAuth2.0来进行用户认证和授权,可以集中管理和保护多个微服务的资源。它的核心原理是通过整合SpringSecurity和Redis,实现了微服务间的用户信息共享和管理。具体来说,用户在登录后,其信息会被存储在Redis中,微服务可以通过访问Redis来获取用户的登录状态和权限信息,从而实现认证和授权。由于SpringCloud Security Gateway是基于SpringCloud的微服务框架,所以它能够灵活适应不同的微服务架构,并提供统一的认证和授权机制。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [SpringCloud + Gateway + Security 搭建微服务统一认证授权(附源码)](https://blog.csdn.net/afreon/article/details/125057131)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [undefined](undefined)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Spring Cloud Gateway 整合 Spring Security 统一登录认证鉴权](https://download.csdn.net/download/weixin_35688029/82157447)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文