This commit is contained in:
noear
2023-02-09 21:59:52 +08:00
4 changed files with 8 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* 忽略认证:表示被修饰的方法或类无需进行注解认证和路由拦截认证
*
* <h2> 请注意:此注解的忽略效果只针对 SaInterceptor拦截器 和 APO注解鉴权 生效,对自定义拦截器与过滤器不生效 </h2>
* <h2> 请注意:此注解的忽略效果只针对 SaInterceptor拦截器 和 AOP注解鉴权 生效,对自定义拦截器与过滤器不生效 </h2>
*
* @author kong
* @since: 2022-8-21

View File

@@ -7,6 +7,11 @@
<table class="gzh-table" style="text-align: center;">
<tr>
<td>
<img src="https://mp.weixin.qq.com/mp/qrcode?scene=10000004&size=102&__biz=Mzg4Nzg2MjQzNg==&mid=2247484545&idx=1&sn=c6101effb31b639fe2699b56bcc090c7&send_time="/>
<b>小简聊开发</b>
<span>偶尔更新前后端技术文章偶尔发布生活散文更新随缘。浏览器搜索JanYork了解我更多。</span>
</td>
<td>
<img src="https://mp.weixin.qq.com/mp/qrcode?scene=10000005&size=102&__biz=MzU2MTI4MjI0MQ==&mid=2247508620&idx=1&sn=500448fce310a6012aa58616c304dec2&send_time="/>
<b>Java笔记虾</b>
@@ -23,7 +28,6 @@
<span>一个励志推荐10000款开源项目与免费工具的程序猿</span>
</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>

View File

@@ -100,7 +100,7 @@ public class SaOAuth2ServerController {
cfg.
// 配置未登录时返回的View
setNotLoginView(() -> {
String msg = "当前会话在SSO-Server端尚未登录请先访问"
String msg = "当前会话在OAuth-Server端尚未登录请先访问"
+ "<a href='/oauth2/doLogin?name=sa&pwd=123456' target='_blank'> doLogin登录 </a>"
+ "进行登录之后,刷新页面开始授权";
return msg;

View File

@@ -266,7 +266,7 @@ public class SaSso2ClientApplication {
可以看出,除了在`Client1`端我们需要手动登录一次之外,在`Client2端`和`Client3端`都是可以无需再次认证,直接登录成功的。
我们可以通过 F12控制台 Netword跟踪整个过程
我们可以通过 F12控制台 Network 跟踪整个过程
![sso-genzong](https://oss.dev33.cn/sa-token/doc/sso/sso-genzong.png 's-w-sh')