Seven CAS local localhost debug, unable to exit the query single point

Source: Internet
Author: User

think more when you work--------preface

Yesterday afternoon received the task of the Content aggregation platform and distribution platform with unified authentication login, before the CAs, think of this process is a step-by-step thing. In both systems, Web. XML adds a CAS-related filter, adds a jar package on the CAS Client side, modifies the exit interface for CAS exit interface, modifies the user information to the session module, sets the expiration time of the session, etc., and executes after all configuration is completed. Login can be successfully logged in, and the implementation of unified login authentication. But at the time of the exit seems to be invalid, when encountering a problem regardless of 3,721 first think is the CAS server bad, and then to the time of work, put the exercise in the first I also did not work overtime to debug.

Evening followed Jung's Little Red Riding Hood exercise, in the shower when the mind flashed the word "localhost", think about why, so I understand is because the localhost domain name CAS server can not be recognized, suddenly found himself good two ah. My CAS server is on the intranet server, but to change the localhost to their own IP address when it is OK, you can log in and out normally.

Really hands can not faster than the brain, usually the brain has not thought, the code does not look carefully, the hands first take the mouse to do some of their own thinking of the normal operation, rather than first think about it before the hands, so after each action has meaning and have effect, and not like a old ox will just what also don't want to arable land.

Summary change

When a task comes down, the first thing to do is to list it. 1, list the requirements of the task (such as adding or modifying functions, the SVN address of the project, the completion time point). 2. Write down the implementation steps for this task (for example, whether you need to set up an SVN branch, whether you need testing, what you do first in your code logic). 3, the implementation process also need to do a little record (such as the need to realize the process of the needs of doubt is to confirm the leadership, as well as technical bottlenecks, look at the task of time, if they have long time to and leadership to put forward and so on) 3, to do a summary of this module or modify the module with how long, to summarize the The problem is how to solve, the solution, the lack of their own where. This way down, when the task is completed, is not self-added some self-confidence.

Rookie one in the effort ... Come on

Seven CAS local localhost debug, unable to exit the query single point

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.