Using the Yale CAS Implementation single sign-on (SSO) in Tomcat

Source: Internet
Author: User
Tags cas

<!--[if!supportemptyparas]--> <!--[endif]-->
the single sign-on system developed by Yale University is called CAS (the authentication Server) and is designed as a stand-alone Web application (Cas.war). It is currently implemented with several Java Servlet implementations and runs through an HTTPS server. A Web application that uses a single sign-on feature runs as a client of CAs.
because CAS uses the HTTPS protocol, you first need to know how to configure SSL in the container. Tomcat's SSL configuration is relatively simple compared to other containers, and CAS servers are generally functional after SSL configuration is complete.
The CAS client is run with a Web application filter. When a feature of the Web application is requested, filter blocks the URL of the application, forcing the user to log on to the CAS server. In all different Web applications, using the same CAS server for landing, you can achieve the goal of a single point of landing.
This article uses the same Tomcat (version Tomcat5.0.30) to configure CAS servers and clients, respectively, on port 8443 and port 8080. The following are detailed steps for using the Yale CAS implementation single sign-on in Tomcat:
<!--[If!supportlists]--> 1. <!--[endif]--> install CAS server
<!--[If!supportlists]--> 1.1.<!--[endif]--> download The CAS release package, download the address:
CAS server: Http://www.yale.edu/tp/cas/cas-server-2.0.12.zip or
Https://clearinghouse.ja-sig.org/wiki/download/attachments/924/cas-server-2.0.12.zip
CAS client: Http://www.yale.edu/tp/cas/cas-client-2.0.11.zip or
Https://clearinghouse.ja-sig.org/wiki/download/attachments/827/cas-client-2.0.11.zip
<!--[if!supportlists]-->1.2.      <!--[endif]--> will extract cas-server-2.0.12.zip, and copy Lib/cas.war to Tomcat WebApps to test whether the CAS server is released properly and can access http:// Localhost:8080/cas/login appears in the landing window. Enter user name password (username = password), the Landing Success page description released normal.
<!--[If!supportlists]--> 2. <!--[endif]--> Configure Tomcat using HTTPS protocol
<!--[If!supportlists]-->

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.