Login-webflow is when you enter a https://uia.comsys.net.cn/login in your browser? Param_list
Then, how does the CAS server handle the issue.
It is actually a spring-webflow application.
For more information about spring-webflow,
I won't be jealous if the Internet is overwhelming
The Web. xml file on the CAS server contains
Servlet
>
Servlet-name
>
does not require verification.
Server exit address: http: // localhost: 8080/cas/logout ,:
If you want to return after exiting, You need to configure the server cas-servlet.xml Configuration
Add property p: followServiceRedirects = "true"
The exit link is http: // localhost: 8080/cas/logout? Service = http: // localhost: 8080/Casclient/index. jsp2. Change t
Cas-server:https://www.apereo.org/projects/cas/download-cascas-client:http://developer.jasig.org/cas-clients/CAS Official Tutorial: Https://wiki.jasig.org/display/CASUM/CAS+on+Windows+Quick+Setup+GuideVersion:
CAS Server
Cas 4. X single-point logon practices, cas4.x single-point operationsTools used
Maven-3.3.9
Cas-4.1.4
Tomcat-7.0.57-win-x64
Cas-sample-java-webapp1. Hello cas
1. Download Tomcat, decompress it, modify its server. xml, and add SSL support (Baidu ):
1
1. Download the version of cas
[SSO single-point series] (4): Return of user information after cas server logon, ssocas
Next, in the previous article, we described how to add a verification code on the cas server logon page and log on. Once the cas server is successfully verified, we will jump to the client. After you jump to the client, let's think about it. The client always needs to obtain
.
If you need HTTPS, refer to this article for certificate generation: CAS Single Sign-On certificate Import
The method for canceling the HTTPS protocol will be described in detail at the fourth point. You can continue to look at it!
4. Step 1 of instance explanation and Tomcat Modification
Modify the startup ports of tomcat so that the machine can run multiple tomcat servers. My access ports correspond to the following:
Serial number
Serv
CAS-authentication principle, cas Authentication
CAS, Central Authentication Service-Central certification Service is an enterprise-level open-source project initiated by Yale University. It aims to provide a reliable SSO solution for Web application systems. The following is a brief introduction to SSO, focusing on the CAS
Add verification code to CAS
1. Add kaptcha. jar to the web-inf/web. xml lib under cas. war.
Get kaptcha. jar through maven
This maven contains two jar and the other is the filters-2.0.235.jar
2. Add Verification Code ing in web-inf/web. xml under cas. war
3. added the authcode attribute to the UsernamePasswordCredentials class in
2.4.1, BackgroundThe CAS version that this article uses is 4.0.0
CAS Service and third party docking, the third party uses the MD5 encryption specification is 64 bits, and the CAS MD5 encryption specification is 32 bits. Because the data in the third-party database is numerous, it is not easy to modify. Therefore, the cryptographic specification that needs to b
Assume CAS Server service address: Http://cas-server:8080/cas
Application of CAS client integration address: Http://cas-client:8070/castest
CAS Client side: 1. The user accesses the http://cas
CAS client configuration, cas Client
1. Export the certificate
The above operation will generate a file in the current directory: ssodemo. crt (for the files to be used, see the document on CAS server configuration)
2. Import the certificate from the client
The above operation will generate the file cacerts under the jdk installation directory jre \ lib \ s
Single Sign-On CAS (8): Using maven overlay to implement non-intrusive CAS and mavenoverlay
In the early stages of learning CAS deployment, there were various online tutorials and various solutions kept trying.
During this period, the source code was changed by various intrusions. After a long time, it may be hard to find out which file, which configuration was m
As a CAS server, whether or not clients can be accessed is defined by configuration. For the CAS server, each access client corresponds to a service configuration. When the CAS server is started, these services are loaded and registered, and the corresponding clients can be connected. Otherwise
1. Assume that the CAS
Recently in the CAS configuration, encountered the data source does not provide password and other data, how to implement password input authentication?Step one: Create a new Java project and generate a CAS encryption tool based on the mask algorithmFor the sake of confidentiality, you do not provide a custom encryption tool, and in your actual project you can use CAS
Identity Authentication
(1) start SQL Server Management studio, create a database named "usersdb", and create the table "users". The fields are as follows:
(2) enter several test data in the table:
3. Configure CAS for database-based Identity Authentication
(1) Start the text editing tool as administrator and open "% atat_home % \ webapps \ CAS \ WEB-INF \ deployerconfigcontext. xml ". Find
Overview
Single sign-on is mainly used for multiple system integration, that is, in multiple systems, users need to log on to one central server at a time to access any one of these systems without having to log on multiple times.
This article uses the Open source framework Jasig CAS to complete a single sign-on. Download Address: Https://www.apereo.org/cas/down
the database.
In the deployerconfigcontext. xml configuration file
Replace:
In the/View/JSP/protocol/2.0/casservicevalidationsuccess. jsp file, add
Redirection supported for logout
Open the CAS. logout. followserviceredirects = true comment in the CAS. properties file.
Custom logon page
Modify/View/JSP/default/UI/casloginview. jsp page (customization not modified for the mome
in writing
Single Sign-on CAS usage series:
Single Sign-on CAS usage note (i): pre-preparation and configuring the SSL protocol for Cas-server
Single Sign-on CAS usage (ii): Deploying CAS servers and clients
Single Sign-on
http://download.csdn.net/detail/zhu_r_d/5487373
Win7 Virtual Machine
Configure the server
Decompress CAS Service, copy the cas-server-webapp-3.4.8.war file in the unzipped file's modules folder under % TOMCAT_HOME % \ webapps, and change the file name to: cas. war
Configure host
After the configuration is complete, start tomcat and enter https:/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.