From 358ca2521e1d29db05fc988db002bacf8719ab48 Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Sat, 27 Jun 2020 20:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=20OAuth2.0=20=E5=85=A5?= =?UTF-8?q?=E9=97=A8=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++++- .../lab68/resourceserverdemo/config/OAuthSsoConfig.java | 2 ++ pom.xml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75e8c635..d37c28f2 100644 --- a/README.md +++ b/README.md @@ -91,9 +91,13 @@ ## 安全控制 * [《芋道 Spring Boot 安全框架 Spring Security 入门》](http://www.iocoder.cn/Spring-Boot/Spring-Security/?github) 对应 [lab-01](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-01) -* [《芋道 Spring Boot 授权框架 Spring Security OAuth2 入门》](http://www.iocoder.cn/Spring-Security/OAuth2-learning/?github) 对应 [lab-02](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-02) * [《芋道 Spring Boot 安全框架 Shiro 入门》](http://www.iocoder.cn/Spring-Boot/Shiro/?github) 对应 [lab-33](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-33) +**OAuth 2.0** +* [《芋道 Spring Security OAuth2 入门》](http://www.iocoder.cn/Spring-Security/OAuth2-learning/?github) 对应 [lab-68](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-68) +* [《芋道 Spring Security OAuth2 存储器》](http://www.iocoder.cn/Spring-Security/OAuth2-learning-store/?github) 对应 [lab-68](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-68) +* [《芋道 Spring Security OAuth2 单点登陆》](http://www.iocoder.cn/Spring-Security/OAuth2-learning-sso/?github) 对应 [lab-68](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-68) + ## 定时任务与异步任务 * [《芋道 Spring Boot 定时任务入门》](http://www.iocoder.cn/Spring-Boot/Job/?github) 对应 [lab-28](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-28) diff --git a/lab-68/lab-68-demo21-resource-server-on-sso/src/main/java/cn/iocoder/springboot/lab68/resourceserverdemo/config/OAuthSsoConfig.java b/lab-68/lab-68-demo21-resource-server-on-sso/src/main/java/cn/iocoder/springboot/lab68/resourceserverdemo/config/OAuthSsoConfig.java index 0224020d..28ffaacb 100644 --- a/lab-68/lab-68-demo21-resource-server-on-sso/src/main/java/cn/iocoder/springboot/lab68/resourceserverdemo/config/OAuthSsoConfig.java +++ b/lab-68/lab-68-demo21-resource-server-on-sso/src/main/java/cn/iocoder/springboot/lab68/resourceserverdemo/config/OAuthSsoConfig.java @@ -5,6 +5,8 @@ import org.springframework.context.annotation.Configuration; /** * SSO 配置 + * + * 推荐看 SsoSecurityConfigurer 类 */ @Configuration @EnableOAuth2Sso // 开启 Sso 功能 diff --git a/pom.xml b/pom.xml index 798e2373..3538d475 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,7 @@ - lab-68 +