Implement SSO using Yale CAS +. Net client (2)

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

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.