cas

上传者: 42126865 | 上传时间: 2021-06-08 18:52:56 | 文件大小: 13KB | 文件类型: ZIP
单点登录: 统一认证平台UC: 职责:登录和鉴权 登录:生成token信息,将信息存到UC域名下的cookies中 鉴权:验证token的正确性,子系统每个请求会首先到UC来验证token是否有效 返回token信息:子系统会使用JSONP跨域访问此接口获取token信息 各个业务子系统: JSONP跨域获取UC中的token信息并存到自己域名下的cookies中 业务接口会首先在UC中进行token的鉴权 例子 UC系统: localhost:8080/uc/login会将登录用户生成token并存到UC域的cookies中 localhost:8080/uc/auth会根据请求cookies中的token信息返回用户的信息,包括会话信息(token) **** 验证token是否有效,供子系统访问 子系统: 前端JSONP访问UC的鉴权接口:此时UC系统是登录过的,含有token信息,

文件下载

资源详情

[{"title":"( 15 个子文件 13KB ) cas","children":[{"title":"cas-master","children":[{"title":"pom.xml <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"uc","children":[{"title":"pom.xml <span style='color:#111;'> 788B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"cn","children":[{"title":"wzy","children":[{"title":"uc","children":[{"title":"UcApplicationTests.java <span style='color:#111;'> 322B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"wzy","children":[{"title":"uc","children":[{"title":"UcApplication.java <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"sys","children":[{"title":"pom.xml <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"cn","children":[{"title":"wzy","children":[{"title":"sys","children":[{"title":"SysApplicationTests.java <span style='color:#111;'> 324B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"index.html <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"wzy","children":[{"title":"sys","children":[{"title":"SysApplication.java <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"component","children":[{"title":"RestTemplateConfig.java <span style='color:#111;'> 794B </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明