Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Single sign on method and apparatus, server and storage medium

A single sign-on, server-side technology, applied in the Internet field, can solve problems such as slow access speed, applications that cannot achieve horizontal expansion and integration of web containers, and containers that cannot be shared, etc., to achieve the effect of improving access speed.

Inactive Publication Date: 2018-04-13
RUN TECH CO LTD BEIJING
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because this method cannot realize the horizontal expansion and integrated application of the web container, the containers cannot be shared, and the access speed is relatively slow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Single sign on method and apparatus, server and storage medium
  • Single sign on method and apparatus, server and storage medium
  • Single sign on method and apparatus, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a flow chart of a single sign-on method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of a single sign-on application system. The method can be executed by a single sign-on device, which can be integrated into the server middle. like figure 1 As shown, the method includes the following steps.

[0036] Step 110, build a cache cluster, and integrate the cluster into the single sign-on server.

[0037] Among them, single sign-on may mean that in multiple application systems, a user only needs to log in once to access all mutually trusted application systems. Exemplarily, a user only needs to log in once with a Baidu account to access mutually trusted application systems in Baidu, such as Baidu Netdisk, Baidu Library, and Baidu Video. The cache cluster can be a redis cluster.

[0038] In this embodiment, the process of building a cache cluster may be to first decompress the cache installation package, and th...

Embodiment 2

[0050] figure 2 A flow chart of a single sign-on method provided by Embodiment 2 of the present invention, as a further explanation of the above embodiment, as shown in figure 2 As shown, the method includes the following steps.

[0051] Step 210, building a redis cluster for storing session information.

[0052]Step 220, using the spring boot framework to build a single sign-on server, and integrating the redis cluster into the single sign-on server.

[0053] Step 230, write a session filter to verify the user's session information.

[0054] Step 240, receiving the request parameter from the client, and completing the page jump according to the session verification result.

[0055] Step 250, using the spring boot framework to build the application system.

[0056] Step 260, configure the relevant information of the single sign-on server for the application system.

[0057] Step 270, integrate the spring session, write a session interceptor, and implement page redirecti...

Embodiment 3

[0062] image 3 It is a schematic structural diagram of a single sign-on device provided by Embodiment 3 of the present invention. like image 3 As shown, the device includes: a cache cluster building module 310 , a target SSO verification code receiving module 320 , a judgment module 330 and a page jump control module 340 .

[0063] A cache cluster building module 310, configured to build a cache cluster and integrate the cluster into the single sign-on server;

[0064] Target SSO verification code receiving module 320 , configured to receive target request parameters and target SSO verification code sent by the client; page jump control module 340 .

[0065] A judging module 330, configured to judge whether the target SSO verification code is in the cache cluster;

[0066] The page jump control module 340 is configured to control page jump according to the target request parameter.

[0067] Optionally, the judging module 330 is also used for:

[0068] If it does not exi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a single sign on method and apparatus, a server and a storage medium. The method comprises the following steps: establishing a cache cluster, and integratingthe cluster in a single sign on server; receiving a target request parameter and a target single sign on verification code sent by a client; judging whether the target single sign on verification codeexists in the cache cluster; and if so, controlling page skipping according to the target request parameter. According to the single sign on method provided by the embodiment of the invention, by establishing the cache cluster, horizontal extension of the system can be achieved, and the single sign on verification code is stored in the cache cluster to improve the access speed of single sign on.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular to a single sign-on method, device, server and storage medium. Background technique [0002] Single sign-on means that in multiple application systems, users only need to log in once to access all mutually trusted application systems. [0003] In related technologies, the open source project CAS initiated by Yale University is adopted to realize single sign-on. When using a browser to access site information, first use the CAS service for verification. If there is a single-sign-on verification code on the server, log in directly. If it does not exist, create a corresponding single-sign-on verification code. Because this method cannot realize the horizontal expansion and integrated application of the web container, the containers cannot be shared, and the access speed is relatively slow. Contents of the invention [0004] The invention provides ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06F9/451
CPCH04L63/0815H04L67/1097
Inventor 刘超
Owner RUN TECH CO LTD BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products