Lightweight Single Sign-on system best practices

Source: Internet
Author: User

to achieve enterprise application integration, you must solve the single-point logon problem. Single Sign-On ( SSO , Single Sign On ) it can also be called the unified authentication service, that is, you can access multiple application systems only once without logging on again. How to solve the single point of login problem, with any search engine, you can find a variety of solutions, it can be said that the Eight Immortals across the sea, each of their magical powers. The purpose of this article is not to provide a complete, secure, and reliable solution, but to provide a Web technology, software platform-independent, user-independent authentication form, user-only authentication function, a lightweight single sign-on system that can be used without high security. Although this article uses . net framework, C # implementation, however, you can use other platforms and other languages in the same way; although this article uses the username and password to write the worst form of user authentication in Code , however, you can use databases, Active Directory , and other forms to verify users.

Many single sign-on solutions are complex, both in terms of technology and ideas. They are considered in all aspects, both commercial and code. Presumably manyProgramLike me, studyWebThe first step in program development is to solve the user login problem. In the case of poor Internet development, it is quite complicated to achieve single-point login, which is similar to this, but it is not in a circle. Complex Single Sign-On methods often have a lot of responsibilities unrelated to single sign-on. It is just a small application system that allows users to log on to a single place. 

Features of a lightweight single sign-on system:

LLightweight;

LBased onWeb-SsoSolution;

LIt only describes the method through code. It has nothing to do with the development platform and language, and has nothing to do with the user authentication form;

LDo not use the clientCookies, Supports cross-origin authentication;

LProvides basic security;

 

ArticleDirectory

Chapter 2 Preface

Chapter 2 Introduction to single sign-on

Chapter 1 WEB-SSO general implementation

Chapter 2 Introduction to the lightweight single-point logon System

Chapter 4 Implementation of a lightweight single-point login System

5.1. Public component ssolab. ssoserver. Components

5.2. Single Sign-on system ssolab. ssoserver. webapp

5.3. Demonstration of the Enterprise Portal System ssolab. Portal. webapp

5.4. Human Resource Management System demonstration ssolab. app1. webapp

5. Financial Management System demonstration ssolab. app2. webapp

5.6. Online office system demo app3 (Java)

Chapter 2 postscript

Code download

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.