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