CAS Single Sign-on configuration [1]: Preparing for work

Source: Internet
Author: User

About CAs what is not here is not to repeat, the Netizen likened it to the tourist attractions of the package, bought a ticket can see all the attractions, do not need a spot to buy a ticket ... We focus on the configuration of CAS single sign-on.

Tools/Materials
    • 1. Configure the JDK environment, otherwise it is inconvenient to use the Keytool tool that comes with JDK;
    • At least one database has been installed, this article takes SQLServer2008 as an example;
    • 3. It is best to install the Myeclipse/eclipse and configure Tomcat, this article takes MyEclipse as an example;
    • Download CAS server side and client program, this article takes Cas-server-3.4.10-release and cas-client-3.2.1-release as an example;
Modify the Hosts file
    1. 1

      To modify the Hosts file in the C:\Windows\System32\drivers\etc directory, add the following line at the end:

      127.0.0.1 fighting.com

      This is the local IP to the domain name Mapping, the name can be casually, but not too casual, so that we can use the fighting.com when accessing the machine instead!

      END
Server-Side deployment testing
    1. 1

      Unzip the downloaded Cas-server-3.4.10-releas, locate the Cas-server-webapp-3.4.10.war package in the Cas-server-3.4.10\modules directory, unzip it to a folder, and name it CAs, Copy the war package to Tomcat, launch Tomcat, open the browser first enter https://fighting.com/ to see the Tomcat interface, the first step succeeds!

    2. 2

      Then enter https://fighting.com/cas/login hibaosoft.com for our configuration in the Hosts file, see the following interface to indicate the success of the launch!

    3. 3

      Click Continue to browse ... The CAs login screen appears, because of the settings in the program, here only requires the user name password consistent to be able to log in.

      Post-Login Interface:

    4. 4

      Logout address and interface:https://fighting.com/cas/logout

    5. 5

      At this point we have completed the server-side deployment.

      END
Precautions
    • CAs can not be found here to download Http://pan.baidu.com/s/1o6BMtkQ

CAs Single Sign-on configuration [1]: Ready to work

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.