当前位置:网站首页>CAS central certification service
CAS central certification service
2022-06-21 10:42:00 【Borny Ding Ding】
1、CAS
CAS, Central certification services , An independent open instruction protocol , by Web The application system provides a reliable single sign on method .
SSO, Single sign on , When the user logs in on the authentication server once , You can get access to other associated systems and applications in the single sign on system .
2、 Principles and protocols
For each that accesses protected resources Web request ,CAS Client Will analyze the Http Whether the request contains Service Ticket, without , The current user has not logged in , The request is then redirected to CAS Server The login address , And transmission Service( That is, the address of the destination resource to be accessed ), In order to return to the address after successful login . The user is at 3 Enter the authentication information in the next step , If login is successful ,CAS Server Randomly generate a unique Service Ticket, And cache for future verification , Then the system automatically redirects to Service Address , And set up a Ticket Granted Cookie(TGC),CAS Client Get the Service And the new Ticket later , In the 5、6 Bu Zhong Yu CAS Server Make an identity check , In order to ensure that Service Ticket Legitimacy .
CAS Server, Responsible for user authentication .CAS Client, Responsible for handling access requests to client protected resources , When you need to log in , Redirect to CAS Server.TGT, yes CAS Login tickets issued for users , Stored in CAS Server in , Be similar to session.TGC, yes TGT Unique identification of , Stored in Web Browser in , Be similar to jsessionid.ST, yes CAS Service tickets issued for users
The user is in CAS Server After successful certification ,CAS Server Will generate TGT and TGC,TGT Stored in CAS Server,TGC Stored in Web Browser in . When the user visits again CAS Server when , First query cookie Whether there is TGC, If it exists, pass TGC obtain TGT, Got it TGT It means that the user has been authenticated successfully before , adopt TGT And access the source to generate ST, Single sign on .
The protocol process diagram is as follows

边栏推荐
- ES复合查询工作量评估
- JobService的使用
- DSP online upgrade (4) -- functions implemented by bootloader
- 流式编程:流支持,创建,中间操作以及终端操作
- Matplotlib two methods of drawing torus!
- Les nouveaux programmeurs optimisent une ligne de code lundi et sont exhortés à se retirer mercredi?
- 《Feature-metric Loss for Self-supervised Learning of Depth and Egomotion》论文笔记
- The bilingual live broadcast of Oriental selection is popular, and the transformation of New Oriental is beginning to take shape
- 开课报名|「Takin开源特训营」第一期来啦!手把手教你搞定全链路压测!
- 注解的定义以及注解编译器
猜你喜欢

Optimisation des performances - compression, chargement et formatage des images

字符串

基因型填充前的质控条件简介

Running view of program

Where is the cow in Shannon's information theory?

简易的安卓天气app(三)——城市管理、数据库操作

Mqtt of NLog custom target

The backbone of the top 100 security companies! Meichuang technology was selected into the 2022 China top 100 Digital Security Report

性能優化——圖片壓縮、加載和格式選擇

Will the thunderstorm of Celsius be the "Lehman moment" in the field of encryption?
随机推荐
字符串
Definition of annotations and annotation compiler
ESP8266/ESP32 +1.3“ or 0.96“ IIC OLED指针式时钟
如何将MindSpore模型转ONNX格式并使用OnnxRuntime推理---开发测试篇
移动应用开发学习通测试题答案
触摸按键控制器TTP229-BSF使用心得[原创cnblogs.com/helesheng]
Classification of ram and ROM storage media
Revenue of Fortinet will increase by 29% in 2021 founder Xieqing talks about the future of network security industry
Uni app advanced creation component / native rendering [Day9]
Answers to mobile application development learning general test questions
程序員新人周一優化一行代碼,周三被勸退?
聊聊大火的多模态项目
Versions supported by vuforia engine
Original code, inverse code, complement calculation function applet; C code implementation;
《Feature-metric Loss for Self-supervised Learning of Depth and Egomotion》论文笔记
Add solid state to the computer
Advanced part of concurrent programming: parallel flow, tasks and executors, and completabilefuture classes
中部“第一城”,网安长沙以何安网?
POI implements operation to generate word tables and operate chart data in word
Is it safe for Guojin securities to open an account?