Skip to content

Commit 358ca25

Browse files
author
YunaiV
committed
完善 OAuth2.0 入门目录
1 parent cbca348 commit 358ca25

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,13 @@
9191
## 安全控制
9292

9393
* [《芋道 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)
94-
* [《芋道 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)
9594
* [《芋道 Spring Boot 安全框架 Shiro 入门》](http://www.iocoder.cn/Spring-Boot/Shiro/?github) 对应 [lab-33](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-33)
9695

96+
**OAuth 2.0**
97+
* [《芋道 Spring Security OAuth2 入门》](http://www.iocoder.cn/Spring-Security/OAuth2-learning/?github) 对应 [lab-68](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-68)
98+
* [《芋道 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)
99+
* [《芋道 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)
100+
97101
## 定时任务与异步任务
98102

99103
* [《芋道 Spring Boot 定时任务入门》](http://www.iocoder.cn/Spring-Boot/Job/?github) 对应 [lab-28](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-28)

lab-68/lab-68-demo21-resource-server-on-sso/src/main/java/cn/iocoder/springboot/lab68/resourceserverdemo/config/OAuthSsoConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
/**
77
* SSO 配置
8+
*
9+
* 推荐看 SsoSecurityConfigurer 类
810
*/
911
@Configuration
1012
@EnableOAuth2Sso // 开启 Sso 功能

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<!-- <module>lab-65</module>-->
7979
<!-- <module>lab-66</module>-->
8080
<!-- <module>lab-67</module>-->
81-
<module>lab-68</module>
81+
<!-- <module>lab-68</module>-->
8282

8383
<!-- Spring Cloud 示例 -->
8484
<!-- <module>labx-01</module>-->

0 commit comments

Comments
 (0)