文章预览
1、概述 SpringCloud Gateway Security oauth2.0 搭建微服务统一认证授权。 项目概述: common :公用代码,实体、工具类等等… gateway :网关 uaa :用户登录认证服务 school :微服务 环境概述: SpringBoot 版本:2.3.1.RELEASE SpringCloud版本:Hoxton.SR6 SpringCloudAlibaba:2.2.1.RELEASE MybatisPlus:3.3.2 技能要求: 需要掌握SpringCloud 、SpringCloudAlibaba 基础使用,了解RBAC、OAuth2.0、JWT。 2、父工程 父工程pom依赖: < project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion > 4.0.0 modelVersion > < groupId > com.rosh groupId > < artifactId > demo artifactId > < version > 1.0-SNAPSHOT version > < modules > < module > gateway module >
………………………………