Setup of CAS learning environment (1)

Source: Internet
Author: User

Now we have several single-point logon projects, which have been using Oracle Access ManagerOAM. When working on the project, a company has set up a single sign-on platform. They use open-source CAS as the single sign-on platform. We need to use the OAM product to replace the existing CAS. In order to find the CAS application to smoothly migrate to OAM, you must first set up a set of CAS to fully understand the functions and principles of CAS. Therefore, the first step is to set up the CAS environment. In this process, some errors were recorded here:

1. SSL is not enabled before tomcat is used. To use CAS, you must enable the SSL feature of Tomcat. After keytool is configured, visit http: // localhost: 8443/cas. The page is blank. It's always depressing. How come such a strange problem with such a simple thing. I couldn't help it later. I checked it with my colleagues and found that the access URL was wrong. It should be https: // localhost: 8443/cas. Note that it is https, not http. This is a simple mistake. You can only blame yourself for being careless. Note here.

2. After the CAS server is deployed, it is not a client to test the effect. But depressing things happen. After accessing the client application according to the configuration in the document, a common tomcat error occurs: The accessed resource is unavailable. Then, remove the SSO configuration in web. xml and find that the application can be accessed. For this reason, I am wondering for a while. I can't think of a solution later. I just created a web application in eclipse and made the same configuration to run the test directly in eclipse. I found that I only added a commons-logging-1.1.jar with less than one package.

The above two errors are actually relatively Elementary. In order to stop such a preliminary error, it is recorded here.

This article from "Graph learning" blog, please be sure to keep this source http://feiquan16.blog.51cto.com/336861/1302934

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.