Unlock instant, AI-driven research and patent intelligence for your innovation.

A single logout implementation method in heterogeneous cross-domain web applications

An implementation method and web application technology, applied in the field of web applications, can solve the problems of inability to cross-domain, low logout efficiency, and no support for cross-domain sending requests, and achieve the effect of simple technical implementation and high logout efficiency

Active Publication Date: 2019-05-14
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] First, it cannot cross domains, and does not support sending requests across domains;
[0007] Second, requests can only be sent one by one, and the logout efficiency is low

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
  • A single logout implementation method in heterogeneous cross-domain web applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] A method for implementing single logout in a heterogeneous cross-domain Web application, the implementation process of the method is as follows:

[0031] 1. Each integrated terminal of single logout shall provide its own logout URL (according to actual needs, not necessary).

[0032] 2. Register and save the logout URL of the integrated terminal at the integrated terminal;

[0033] 3. The integrated terminal provides a unified logout URL, which accepts a parameter callback_url (rebound address);

[0034] 4. All the logout links on the pages of the integrated end and the integrated end are all linked to the unified logout URL of the integrated end;

[0035] 5. When requesting a unified logout URL, the backend of the integration end first performs the logout operations of the integration end (logout session, clear cookies, etc.), and then responds to the client in a certain format with all the logout URLs of the integrated end saved by the integration end ( ...

Embodiment 2

[0037] On the basis of Embodiment 1, the method described in this embodiment responds to the client (browser) by dynamically responding to a piece of html code, and the html features are as follows:

[0038] The html code contains a hidden ;

[0039] Should contains several label, each The src attribute of the tag points to a logout URL of the integrated side;

[0040] The onload event triggers a javascript function, which is mainly responsible for the page jump after logout (jump to callback_url).

Embodiment 3

[0042] Such as figure 1 As shown, on the basis of embodiment 2, the specific operation process of the method described in this embodiment is as follows:

[0043] 1. The client browser sends a unified logout request to the integration terminal;

[0044] 2. After the integration end executes the local logout operation, it responds with a piece of html code containing the logout URL of each integrated end;

[0045] 3. Client browser through The tag automatically sends a logout request to each integrated end;

[0046] 4. Each integrated terminal completes the logout operation.

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 invention discloses a single-point cancellation implementation method in a heterogeneous cross-domain Web application. The method comprises an implementation process as follows: (1), cancellation URLs of integrated ends are registered and stored at an integrating end; (2), the integrating end provides a unified cancellation URL; and the URL accepts a parameter, namely a callback address callback_url; (3), all cancellation links of pages of the integrating end and the integrated ends are linked to the unified cancellation URL of the integrating end; and (4), when the unified cancellation URL is requested, the cancellation operation of the integrating end is executed at the rear end of the integrating end at first; and then, the cancellation RULs of all the integrated ends stored at the integrating end are responded to a client side in a certain format. The invention is light, simple and convenient single-point cancellation implementation; the technology is simple to implement; influence on the integrating end and the integrated ends is relatively low; a heterogeneous cross-domain environment can be supported perfectly; furthermore, the fact that a cancellation request is simultaneously sent to multiple integrated ends can be supported; and thus, the cancellation efficiency is high.

Description

technical field [0001] The invention relates to the technical field of Web applications, in particular to a method for realizing single logout in heterogeneous cross-domain Web applications. Background technique [0002] There may be multiple web application business systems in the same unit. In order to facilitate user operations and enhance user experience, multiple business systems in a unit often use single sign-on for integration. [0003] After SSO integration, how to perform SSO. [0004] At present, the more common single-point logout method is to use ajax polling to send logout requests to each integrated end one by one. After all integrated end logouts are completed, the single-point logout is completed. [0005] However, there are still some deficiencies in ajax polling logout: [0006] First, it cannot cross domains, and does not support sending requests across domains; [0007] Second, requests can only be sent sequentially one by one, and the logout efficien...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/143
Inventor 黄启庆
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD