簡體   English   中英

Spring Boot Security OAuth2身份驗證服務器和業務服務器的拆分

[英]Spring Boot Security OAuth2 Authentication server and business server splitting

例如

身份驗證服務:登錄服務和檢查access_token服務

微服務:業務服務,並通過身份驗證服務檢查access_token

B微服務:與A微服務相同

C Micro Service:與A Micro Service相同

怎么做?

您可以配置單個org.springframework.security.oauth2.provider.token.JdbcTokenStore ,它指向所有3個微服務中的MySQL數據庫。 這樣,第一個access_token將適用於所有人。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM