- Part 1: install and configure Tomcat
Part 2: install and configure cas
1. Download CAS and. Net CAS client.
CAS: http://www.jasig.org/cas/download
. Net CAS client: https://wiki.jasig.org/display/CASC/.Net+Cas+Client
2. Install cas
Decompress the downloaded example -server-3.5.1-release.zip ",
Find cas-server-webapp-3.5.1.war in the modules folder and rename it as CAS. War"
Copy "CAs. War" to the "% tomcat_home % \ webapps" folder. Wait a moment and refresh it. Tomcat automatically decompress "CAs. War" to the "cas" folder. For example:
3. Test cas
In the default configuration, CAS considers that logon is successful if the user name and password are the same. We can modify the configuration to implement database-based authentication. However, we will test it with the default configuration.
Enter the URL"Https: // 192.168.0.123: 8443/CAS/login", If IE has certificate warning information, click" continue to browse this website (not recommended ).
If the user name and password are the same, the system displays logon successful:
You can enter the URL"Https: // 192.168.0.123: 8443/CAS/logout.
So far, all server configurations have been completed. Then, an ASP. NET Website is established and CAS is used to implement SSO.
To be continued...