- Part I: Installing the configuration Tomcat
Part II: Installing the configuration CAS
1. Download the 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
Unzip the downloaded "Cas-server-3.5.1-release.zip",
Find "Cas-server-webapp-3.5.1.war" in the "Modules" folder and rename it to "Cas.war"
Copy "Cas.war" to the "%tomcat_home%\webapps" folder. Just a moment to refresh, you'll see Tomcat automatically extracts "Cas.war" into the "CAS" folder. Such as:
3. Test CAS
In the default configuration, CAS considers the login successful as long as the user name password is the same. We can implement database-based authentication by modifying the configuration. But for the time being, let's test the default configuration first.
Enter the URL "https://192.168.0.123:8443/cas/login" in the browser, if IE has a certificate warning message, click "Continue to visit this website (not recommended)."
If the user name and password are the same, the system displays the login success:
Users can enter the URL "https://192.168.0.123:8443/cas/logout" in the browser, the system automatically completes the logoff operation.
At this point, the server-side configuration is complete. This is followed by the creation of an ASP. NET site, using CAs for SSO.
Go Yale CAS +. NET Client implementation SSO (2)