当前位置:网站首页>CAS based SSO single point server configuration
CAS based SSO single point server configuration
2022-07-26 14:40:00 【Xiang wants to】
be based on CAS Of SSO Single point server configuration
Related articles :
Preface : Before that , We've built CAS service , And can successfully access
Based on the previous issue , We can already successfully use mvn package Hit the cas.war It's time to launch the page , This issue , We simulate two login clients for single sign on
CAS Server configuration
Through the pull-down of the previous issue cas-overlay-template project , adopt IDEA Open to see the following structure

It should be noted that , You need to configure it before starting Tomcat,IDEA No match Tomcat My friends can urge the author for more ! Hee hee
1、 Remove https authentication
CAS By default HTTPS agreement , If the safety requirements are not high , have access to HTTP agreement , Here, the configuration is modified to HTTP agreement
modify /WEB-INF/classes/services Add marks in |http

add to http Protocol support , You also need to edit application.properties Add the following configuration at the bottom

2、 Configure login account
You can customize your login account and password

In this way, subsequent login can use xiangxiaocencen Log in
3、 start-up Tomcat

I am here 9101 port , When the following log output appears , Just OK 了

visit localhost:9101/cas

Here's the thing to notice , We can directly transform this project , Overwrite its login page , You can also get the login user name and password from the database .
Finally through mvn package Deploy to the server , This one is based on CAS Of SSO A single point of service is configured .
Finally, let's pay attention 
Focus on 『Xiang Want to 』 official account
边栏推荐
- Tips for unity transparent channel
- 【无标题】
- 『云原生』KubeSphere可插拔组件之DevOps系统
- Maya imports the model into unity
- .net6 encounter with the League of heroes - create a game assistant according to the official LCU API
- WPF 常用功能整合
- GOM登录器配置免费版生成图文教程
- UDP多线程在线聊天
- [ostep] 03 virtualized CPU - restricted direct execution mechanism
- 1-to-1 live broadcast source code - 1-to-1 voice chat source code
猜你喜欢

VP视频结构化框架

C common function integration

【整数规划】

Flask send_ Absolute path traversal caused by file function

~6. CCF 2021-09-1 array derivation
![[solution of ordinary differential equation and drawing solution of small boat walking track]](/img/2d/3fd7e23fdbd0f343e740a5b93bf9d9.png)
[solution of ordinary differential equation and drawing solution of small boat walking track]

Some lightweight network models in detection and segmentation (share your own learning notes)

保证接口数据安全的10种方案

One stop monitoring of the software and hardware infrastructure of the whole university, and Suzhou University replaces PostgreSQL with time series database

Plato Farm有望通过Elephant Swap,进一步向外拓展生态
随机推荐
Seata deployment and microservice integration
Plato farm is expected to further expand its ecosystem through elephant swap
C nanui related function integration
请问下大家,flink sql有没有办法不输出update_before?
Instructions for various interfaces of hand-held vibrating wire collector vh03
Leetcode215 the kth largest element (derivation of quick sort partition function)
Use of URL download resources
C# 常用功能整合
注解和反射
14. Bridge based active domain adaptation for aspect term extraction reading notes
Technology evolution analysis framework based on two-level topic model and its application
过滤器和拦截器的区别
Figure introduction to neural network core dataset
[deep learning] fully connected network
uni-app从创建到运行到微信开发者工具
[dry goods] data structure and algorithm principle behind MySQL index
Embedded development: skills of debugging embedded software
Parsing XML files using Dom4j
1对1直播源码——1对1语音聊天源码
Wechat applet - "do you really understand the use of applet components?