SSO system introduced

1. What is the sso system

  SSO English name Single Sign On, Single Sign-On. SSO is in multiple applications, users need only log in once to access all applications of mutual trust. It includes the key can be mapped to log in to other applications for the same user login mechanism of. It is one of the more popular enterprise business integration solutions.

2. Why should there be a single sign-on system

2.1, the traditional log in implementation

  

In this way only when a web project is not a problem.

2.2, cluster environment

  

  Situation requires users to log in multiple times will appear under cluster environment.

  solution:

    1, tomcat cluster configuration. Configuring tomcatSession copy. Do not over five nodes.

    2, the server can use the Session, Session information is stored, so that each node is stateless. We need to simulate Session.

  Single sign-on system is simulated using redis Session, to achieve unified management of Session.

 

Guess you like

Origin www.cnblogs.com/116970u/p/11470372.html
sso