摘要:
Ouath2.0在SpringCloud下获取授权码,验证授权码,刷新授权码 本文不主要介绍SpringCloud的其他组件,只展示Ouath2.0的集成代码,并演示授权码的获取,检验,刷新,展示其他模块是因为在Ouath2.0里面怕有人问这数据从哪里来的,如果觉得环境太麻烦,就直接看Ouath2. 阅读全文
摘要:
以下说说Leader选举的getView的解析流程 public Map<Long,QuorumPeer.QuorumServer> getView() { return Collections.unmodifiableMap(this.quorumPeers); } getView 里面实际上返回 阅读全文