MVC4 Single Sign-on two Cas server configuration

Source: Internet
Author: User

Previous blog Mvc4 Single Sign-on one of the CAs brief introduction of how CAS works! This article describes the configuration of the CAS server side.

First of all to explain that CAS server is a Java program, so first to determine that your computer installed the JDK, and installed a Tomcat server, if not installed, then you can check the data from the Internet, a one! For example, I installed Tomcat on the E:\apache-tomcat-7.0.52.


CAS Client for CAS: http://download.csdn.net/detail/zhanghongjie0302/8391067, CAS service side: Http://download.csdn.net/detail /zhanghongjie0302/8391077 Download the file.

Then unzip! Extract the Cas-server/modules/cas-server-webapp-3.4.11.war files, copy the files to the E:\apache-tomcat-7.0.52\webapps folder, Rename to: Cas.war. It is important to note that your Tomcat is already running, and the check method is to enter http://localhost:8080 in the address bar of the browser if displaying a cat indicates that you have successfully installed Tomcat. as shown! Otherwise, go ahead and install your tomcat and come back.

After renaming, he will automatically unzip, and then enter Http://localhost:8080/cas/login in the Address bar appears the following interface, indicating that your installation succeeded!

If not, then please go back and look at the wrong step! Then enter the user name and password, cas-server the default authentication rules as long as the user name and password the same authentication pass (only for testing, the production environment needs to be modified according to the actual situation), enter Admin/admin Click Login, you can see the successful login page.

See the above page to congratulate you, indicating that Cas-server has been deployed successfully.

MVC4 Single Sign-on two Cas server configuration

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.