zlt-mp v5.1.0 发布,基于 Spring Cloud Alibaba 的微服务平台

栏目: 软件资讯 · 发布时间: 4年前

内容简介:功能介绍 更新内容 特性/增强 认证中心支持单点登出 sso-demo增加单点登出支持 日志链路追踪增加spanId和parentId字段 升级spring-boot到2.5.7 升级spring-cloud到2020.0.4 问题修复 解决客户端模式授权报错问题 ...

zlt-mp v5.1.0 发布,基于 Spring Cloud Alibaba 的微服务平台

功能介绍

zlt-mp v5.1.0 发布,基于 Spring Cloud Alibaba 的微服务平台

更新内容

特性/增强

  • 认证中心支持单点登出

  • sso-demo增加单点登出支持

  • 日志链路追踪增加spanId和parentId字段

  • 升级spring-boot到2.5.7

  • 升级spring-cloud到2020.0.4

问题修复

  • 解决客户端模式授权报错问题

变更语句

Use `oauth-center`;
update oauth_client_details set additional_information = '{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8082/logoutNotify"}'
where client_id = 'webApp';

update oauth_client_details set additional_information = '{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8081/logoutNotify"}'
where client_id = 'app';

 

内容说明

一、认证中心支持单点登出

认证中心支持多个系统在基于 OAuth2.0 实现单点登录之后,当其中一个系统登出之后,其他系统也同时登出的功能。

 zlt-uaa 工程中通过参数 unifiedLogout来配置是否开启单点登出功能,默认为 false

zlt:
  security:
    auth:
      unifiedLogout: true

相关原理和代码解析看在线文档:https://www.kancloud.cn/zlt2000/microservices-platform/2539642

二、sso-demo增加单点登出支持

oidc-sso  web-sso 这两个单点登录 demo 已经改造支持单点登出功能。

关于 demo 的具体的使用步骤大家直接看每个 demo 工程下的 README.md 文件即可。

三、日志链路追踪优化

zlt-log-spring-boot-starter 工程中的日志全链路追踪,由之前的单个 traceId 的基础上增加 2 个字段:spanId  parentId

格式为:[traceId,spanId,parentId]

[a4013b536bbda96d,2258e9dde4eb40a2,a4013b536bbda96d]

相关原理和代码解析看在线文档:https://www.kancloud.cn/zlt2000/microservices-platform/1228555

项目地址

Gitee地址: https://gitee.com/zlt2000/microservices-platform

Github地址: https://github.com/zlt2000/microservices-platform

项目文档

https://www.kancloud.cn/zlt2000/microservices-platform/919417

项目更新日志

https://www.kancloud.cn/zlt2000/microservices-platform/936235


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Concepts, Techniques, and Models of Computer Programming

Concepts, Techniques, and Models of Computer Programming

Peter Van Roy、Seif Haridi / The MIT Press / 2004-2-20 / USD 78.00

This innovative text presents computer programming as a unified discipline in a way that is both practical and scientifically sound. The book focuses on techniques of lasting value and explains them p......一起来看看 《Concepts, Techniques, and Models of Computer Programming》 这本书的介绍吧!

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具