Single sign-on method and device based on Redis

The invention discloses a single sign-on method and a single sign-on device based on Redis. The invention belongs to the technical field of computers, the technical problem to be solved by the invention is how to realize one-time login and multi-time access of a user. According to the technical sche...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHOU YUMIAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a single sign-on method and a single sign-on device based on Redis. The invention belongs to the technical field of computers, the technical problem to be solved by the invention is how to realize one-time login and multi-time access of a user. According to the technical scheme, the method comprises the following steps of: storing, updating and modifying a login state of auser by utilizing a Redis cache and combining Cookie and Session, so that repeated operations of the user are reduced, Meanwhile, the method is easier to combine with different systems in system construction; when the user logs in for the second time, whether the user needs to log in or not is judged according to the stored user login state, and the function of one-time login and multiple-time access is achieved; the method specifically comprises the following steps: establishing a Session server, realizing high-availability single sign-on based on Redis, and being suitable for being used in adistributed system; in a