Single sign-on method and device based on government affair application, equipment and storage medium

A technology of single sign-on and government affairs, applied in the field of application login, can solve the problems of being unable to adapt to the differentiated needs of various government application logins

CN113852622AActive Publication Date: 2021-12-28数字广东网络建设有限公司
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2021-12-28

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a single sign-on method and device based on government affair application, equipment and a storage medium. The method comprises the following steps: acquiring a grouping authentication identifier carried in a login request of a target government affair application; if the group authentication identifier is null, or if the group authentication identifier is non-null and the group authentication identifier is not matched with the group to which the target government affair application belongs, configuring the group authentication identifier of the group to which the target government affair application belongs and an application authentication identifier of the target government affair application to the login party according to login information input by the login party; if the group authentication identifier is non-null and the group authentication identifier is matched with the group to which the target government affair application belongs, configuring an application authentication identifier of the target government affair application to the login party. The single sign-on is executed among the government affair applications in the same group, and the sign-on operations among the government affair applications in different groups do not influence each other, so that the grouped sign-on management during the single sign-on of the government affair applications is realized, and the limitation of the single sign-on of the government affair applications on the whole platform is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to the technical field of application login, and in particular to a government application-based single sign-on method, device, device, and storage medium. Background technique

[0002] With the rapid development of digital government, the number of government applications used to perform various government functions is gradually increasing, so that users will log in to each government application separately by performing multiple login operations, which brings certain inconvenience to the government application. Therefore, a single sign-on mechanism will be used to realize the login between multiple government applications, so as to simplify the login operation of multiple government applications.

[0003] At present, a platform-wide mutual trust mechanism will be established between various government applications, and then when the user logs in to a government application in the platform-wide governmen...

Examples

Embodiment 1

[0039] figure 2 It is a flow chart of a government application-based single sign-on method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of single sign-on for any government application, and can be applied to the central authentication server provided above that dynamically stores the group information to which each government application belongs. A government application-based single sign-on method provided in this embodiment can be performed by a government application-based single sign-on method provided in an embodiment of the present invention. The device can be implemented by software and / or hardware, and integrated in In the computer equipment that carries out this method.

[0040] Specifically, refer to figure 2 , the method specifically includes the following steps:

[0041] S110. Obtain the group authentication identifier carried in the login request of the target government application.

[0042] Optionally, when t...

Embodiment 2

[0063] image 3 It is a flow chart of a government application-based single sign-on method provided by Embodiment 2 of the present invention. The embodiments of the present invention are optimized on the basis of the foregoing embodiments. Optionally, this embodiment mainly explains in detail the specific execution process of the single sign-on of the target government application under different categories.

[0064] Specifically, see image 3 , the method of this embodiment may specifically include:

[0065] S210. Obtain the group authentication identifier carried in the login request of the target government application.

[0066] S220, judging whether the group authentication identifier is empty, if yes, execute S250; if not, execute S230.

[0067] S230, judging whether the group authentication identifier matches the group to which the target government application belongs, if yes, execute S240; if not, execute S250.

[0068] S240. Add an application identifier of the t...

Embodiment 3

[0078] Figure 4 It is a flow chart of a government application-based single sign-on method provided by Embodiment 3 of the present invention. The embodiments of the present invention are optimized on the basis of the foregoing embodiments. Optionally, this embodiment mainly explains in detail the specific logout process of the target government application under different groups.

[0079] Specifically, see Figure 4 , the method of this embodiment may specifically include:

[0080] S310. Obtain the group authentication identifier carried in the login request of the target government application.

[0081] S320, judging whether the group authentication identifier is empty, if yes, execute S350; if not, execute S330.

[0082] S330, judging whether the group authentication identifier matches the group to which the target government application belongs, if yes, execute S340; if not, execute S350.

[0083] S340, configure the application authentication identifier of the target...