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