Company needs to build the company's internal system, need to use to unified certification, in view Shiro and other discovery access without clue, and there is no control, for the certification system is highly available, reliability will appear extremely important, so I decided to manually set a unified certification solution.
Through the Springboot framework, the author has written a set of unified authentication solution, which has been used in the company's internal CRM, authority system and so on.
Unified authentication Core in the interception of the writing, the other content is around the interceptor expansion.
A word of understanding Unified Authentication: Unified Authentication principle is to be centralized, for all access systems including unified authentication itself is a common access, interception, check rules through the jar access to their respective systems, all the system requests according to the interceptor rules for release and interception certification, Authentication failed to return authentication failure ID or directly with the current system URL Jump authentication Login page Force login.
The following is the author of some of the source code for reference only, if you need to drill down two times development can directly contact the author, free time can be discussed:
Https://github.com/fish1437/fishsso.git
A unified certification solution based on spring boot independent development, easy to read, easy to expand