Go Yale CAS +. NET Client implementation SSO (2)

Source: Internet
Author: User
  • 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)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.