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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com