User identity authentication method and proxy server based on LDAP protocol
Through the combination of the proxy server based on the LDAP protocol and the IAM system, multiple authentication methods and unified identity management are provided, which solves the problem of insufficient information security in enterprises for applications that only support LDAP authentication and achieves higher security. performance and management efficiency.
Patent Information
- Application Number
- CN202210569918.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-05-24
AI Technical Summary
When applications that only support LDAP authentication are used in enterprises, the password authentication method leads to insufficient security of enterprise information, and the identity authentication information of different application software is stored in different databases, which increases the difficulty and cost of administrator management.
Provide a user identity authentication method and a proxy server based on the LDAP protocol to obtain the user information of the target user and the authentication method of the application, send it to the IAM system for identity authentication, support password authentication and OTP authentication, and store the interaction information in In the IAM database, unified identity authentication and audit management are implemented.
The security of enterprise information is enhanced through multiple authentication methods, which reduces the management difficulty and cost of administrators and enables centralized management and audit management of enterprise employee identity information.
Smart Images

Figure CN114844714B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of identity management, and in particular to a method for user identity authentication and a proxy server based on the LDAP protocol. Background Art
[0002] Identity Management (IDM) is a general term for account management, authentication management, authorization management, and audit management solutions.
[0003] At present, some applications integrate the identity authentication function based on the LDAPV3 protocol, that is, they only support the Lightweight Directory Access Protocol LDAP (Lightweight Directory Access Protocol) authentication, such as the Virtual Private Network (VPN) client, and the user's identity information and access information are stored in the log file of the LDAP server. Other applications only support the authentication of the IAM system, such as ordinary shopping programs or office automation (OA) software, and the user's identity information and access information are stored in the Identity and Access Management (IAM) database.
[0004] However, for applications that only support LDAP authentication, users can only perform password authentication when logging into the application, and the authentication security is poor. When the application is used in an enterprise, the enterprise has high security requirements, and the password authentication method will make it impossible to effectively protect the enterprise information security. Summary of the invention
[0005] The present application provides a user identity authentication method and a proxy server based on the LDAP protocol, which are used to solve the problem that when application software that only supports LDAP authentication has high security requirements in an enterprise, the password authentication method will make the enterprise information security unable to be effectively guaranteed.
[0006] In a first aspect, the present application provides a method for user identity authentication, which is applied to a proxy server based on the LDAP protocol, comprising:
[0007] Obtaining user information of a target user and an authentication method of a target application, wherein the user information includes a user name and a password, and the target application is an LDAP client;
[0008] Sending the user information and the authentication method to an identity identification and access management (IAM) system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information, wherein the authentication method includes password authentication or one-time password (OTP) authentication;
[0009] When the identity authentication is successful, the authentication success message returned by the IAM system is obtained, the authentication success message includes user attribute information, and the authentication success message is sent to the target application. The authentication success message is used to indicate that the target user identity authentication is successful.
[0010] Optionally, before obtaining the user information of the target user and the authentication method of the target application, the method further includes:
[0011] Obtaining security level requirements of the target application;
[0012] According to the security level requirement, a corresponding authentication method is configured for the target application, and the authentication method is used for a user to log in to the target application.
[0013] Optionally, after sending the authentication success message to the target application, the method further includes:
[0014] Acquire interaction information of the target application, wherein the interaction information includes a plurality of pieces of interaction data;
[0015] The interaction information is stored in an IAM database, and is used by an administrator for audit management.
[0016] Optionally, storing the interaction information in an IAM database includes:
[0017] Encapsulating the interaction information to form a complete piece of user data;
[0018] The user data is sent to the IAM system, so that the IAM system stores the user data in the IAM database.
[0019] Optionally, after storing the interaction information in the IAM database, the method further includes:
[0020] Acquire a query condition input by an administrator, wherein the query condition includes at least one query index;
[0021] Sending the query condition to the IAM system so that the IAM system searches the IAM database for the content to be queried according to the query condition;
[0022] The content to be queried sent by the IAM system is received, and the content to be queried is displayed.
[0023] In a second aspect, the present application provides a proxy server based on the LDAP protocol, including:
[0024] An acquisition module, used to acquire user information of a target user and an authentication method of a target application, wherein the user information includes a user name and a password, and the target application is an LDAP client;
[0025] A sending module, used to send the user information and the authentication method to an identity identification and access management IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information, wherein the authentication method includes password authentication or one-time password (OTP) authentication;
[0026] The processing module is used to obtain the authentication success message returned by the IAM system when the identity authentication is successful, the authentication success message includes user attribute information, and send the authentication success message to the target application, the authentication success message is used to indicate that the target user identity authentication is successful.
[0027] Optionally, before obtaining the user information of the target user and the authentication method of the target application, the method further includes:
[0028] Obtaining security level requirements of the target application;
[0029] According to the security level requirement, a corresponding authentication method is configured for the target application, and the authentication method is used by a user to log in to the target application.
[0030] In a third aspect, the present application provides a proxy server based on the LDAP protocol, comprising: a processor, and a memory in communication connection with the processor;
[0031] The memory stores computer-executable instructions;
[0032] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement a user identity authentication method as described in the first aspect.
[0034] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0035] The present application provides a method for user identity authentication and a proxy server based on the LDAP protocol. The proxy server obtains the user information of the target user and the authentication method corresponding to the target application, and then sends the user information and the authentication method to the IAM system, so that the IAM system authenticates the target user according to the authentication method and user information corresponding to the target application, that is, completes the identity authentication in the IAM system, and the authentication method is password authentication or one-time password OTP authentication. When the identity authentication is successful, the proxy server obtains the authentication success message returned by the IAM system, and then sends the authentication success message to the target application. The authentication success message is used to indicate that the target user identity authentication is successful. The target application can also achieve authentication without accessing the LDAP server. Multiple authentication methods also enhance the security of enterprise information. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] Figure 1 A schematic diagram of an application scenario of a proxy server based on the LDAP protocol provided for this application;
[0038] Figure 2 A flowchart of a method for user identity authentication provided in Example 1 of the present application;
[0039] Figure 3 A signaling flow chart of a method for user identity authentication provided in Example 2 of the present application;
[0040] Figure 4 A schematic diagram of the structure of a proxy server based on the LDAP protocol provided in Example 3 of the present application;
[0041] Figure 5 A schematic diagram of the structure of a proxy server based on the LDAP protocol provided in Example 4 of the present application.
[0042] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0044] First, the terms involved in this application are explained:
[0045] Password authentication: refers to username and password authentication. The user enters the password (username and password) and matches it with the username and password stored in the database to achieve authentication.
[0046] OTP dynamic password authentication: OTP (One-Time Password, abbreviated as OTP) authentication is also called one-time password authentication. It is a strong authentication technology. When authenticating, the user uses a dynamic password token (a hardware device) to generate a one-time password and matches it with the one-time password generated by the background dynamic password authentication system at the same time, thereby achieving authentication.
[0047] IAM system: IAM system is an identity recognition and access management system. You can use IAM system to control user authentication (login) and authorization (authorization). In layman's terms, it allows the right natural person to access authorized information assets in a unified manner at the right time, providing a centralized digital identity management, authentication, authorization, and auditing model and platform. IAM system provides two authentication methods: password authentication and OTP authentication.
[0048] LDAPV3 protocol: LDAPV3 is a lightweight directory access protocol for directory services. A common use of the LDAPV3 protocol is single sign-on, that is, password authentication. Users can use the same password in multiple applications. It is usually used to log in to a company's internal website, so that corporate employees can log in once on a company computer and then automatically log in to the company's internal network.
[0049] At present, due to the factory settings of application software manufacturers, for various office application software of an enterprise, some application software integrates the identity authentication function based on the LDAPV3 protocol, that is, only supports the lightweight directory access protocol LDAP authentication, such as VPN client, and the user's identity information and access information are stored in the log file of the LDAP server. Some application software only supports the authentication of the IAM system, for example, ordinary shopping software or OA software, and the user's identity information and access information are stored in the IAM database. However, for application software that only supports LDAP authentication, users can only perform password authentication when logging into the application software, and the authentication security is poor. When the security requirements of the application are high in the enterprise, the password authentication method will make the enterprise information security not effectively guaranteed. Moreover, for an enterprise, the relevant data (identity authentication information and interaction information, etc.) of enterprise employees using different application software are stored in different databases, and the relevant data stored in the log file of the LDAP server is not conducive to reading and analysis, which increases the difficulty of administrators to manage identity information and increases the management cost of the enterprise.
[0050] Therefore, the present application provides a method for user identity authentication and a proxy server based on the LDAP protocol, and provides a proxy server, i.e., a unified user platform, which can provide an LDAP protocol interface for LDAP clients, which can be an LDAPV3 protocol, and by calling the interface of the IAM system, provide these clients with authentication methods such as password authentication and OTP authentication, so that LDAP clients can use more secure authentication methods. Then, the relevant data of enterprise employees using different application software is uniformly stored in the IAM database, so that these clients can achieve authentication without accessing the LDAP server, and the administrator can centrally manage the identity information of enterprise employees through the platform.
[0051] refer to Figure 1 , Figure 1A schematic diagram of an application scenario of a proxy server based on the LDAP protocol provided for this application, wherein the client 103 is an application managed by the IAM system, and the user information of the client 103 is stored in the IAM database 105. The proxy server 102 provides the administrator with user information management functions, audit management functions, authentication management functions, and hierarchical authorization functions, etc. The proxy server can also be called a unified user platform. The proxy server 102 provides the client 101 with an LDAPV3 protocol interface, and the client 101 is an LDAP application. The proxy server 102 can call the interface of the IAM system 104, so that the client 101 can use the authentication method of the IAM system 104, increasing the authentication method of the client 101, and can also store relevant data such as user information in the IAM database 105, so that the relevant data of the client 101 and the relevant data of the client 103 are stored in the IAM database 105, which facilitates the centralized management of the administrator, thereby reducing the management cost of the enterprise and strengthening the information security of the enterprise. It can be understood that the number of clients 103 and 101 can be multiple, which is not shown in the figure.
[0052] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments may exist independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0053] refer to Figure 2 , Figure 2 A flow chart of a method for user identity authentication provided in Example 1 of the present application is provided. The method can be applied to a proxy server based on the LDAP protocol, the LDAP protocol can be the LDAPV3 protocol, the proxy server can be a web page, the proxy server can be applied to a server, and the method can include the following steps.
[0054] S201. Obtain user information of a target user and an authentication method of a target application.
[0055] Before obtaining the user information of the target user on the proxy server, the security level requirement of the target application can be obtained. One security level corresponds to one authentication method. The security level can be represented by numbers, such as 1234, or letters, such as ABCD. The higher the security level ranking, the higher the requirement.
[0056] After the proxy server obtains the security level requirement of the target application, it can configure a corresponding authentication method for the target application according to the security level requirement. The authentication method includes password authentication or OTP authentication. The security level of OTP authentication is higher than that of password authentication. As a possible implementation method, when the security level requirement exceeds a preset threshold, the OTP authentication method can be configured for the target application. For example, when the security level is ABCD and the security level requirement is B, the OTP authentication method is configured for the target application. In another possible implementation method, a security level can correspond to an authentication method, forming a one-to-one correspondence. After the proxy server obtains the security level requirement of the target application, it can determine the authentication method of the target application according to the corresponding relationship.
[0057] According to the security level requirements of the application, the corresponding authentication method is configured for it, and the authentication configuration strategy based on the application is implemented, so that the application can use a more secure authentication method, further improving the security management of the enterprise. It can be understood that there are other authentication methods provided in this application, which are not limited to password authentication and OTP authentication methods, as long as the authentication function can be provided for the user to log in to the client.
[0058] When the target user initiates authentication through the target application, the target application calls the LDAPV3 protocol interface provided by the unified user platform through the pre-configured IP address and port number of the proxy server, and sends the user information and authentication method of the target user to the proxy server. The proxy server can obtain the user information and authentication method. The user information includes the user name and password. The user information is entered by the target user when logging into the target application. The target application is an LDAP client, which can be understood as a client that only supports LDAP authentication in the prior art. Specifically, the proxy server obtains the specific distinguished name DN (Distinguished Name, DN for short) format information provided by the LDAPV3 protocol that carries the user information.
[0059] It should be noted that the Internet Protocol IP (IP) address and port number of the above-mentioned pre-configured proxy server can be pre-configured by the administrator according to the needs of the enterprise. For example, when the enterprise has high security requirements, or the enterprise has relatively few employees and generates less interactive information, the target application can be configured according to the IP address and port number of the LDAP server in the prior art. Conversely, the target application can be configured with the IP address and port number of the proxy server. The target application can access the corresponding server according to the pre-configured IP address and port number.
[0060] S202: Send the user information and the authentication method to the IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information.
[0061] After the proxy server obtains the user information of the target user, it calls the interface of the IAM system to send the user information and the authentication method corresponding to the target application to the IAM system, so that the IAM system can authenticate the target user according to the authentication method and user information corresponding to the target application. The authentication method includes password authentication or one-time password OTP authentication, as follows:
[0062] When the authentication method of the target application is password authentication, the IAM system can match the user information with the target user information stored in the IAM database, that is, match the user name and password with the user name and password stored in the IAM database.
[0063] When the authentication method of the target application is OTP authentication, the password in the user information is the one-time password generated by the user's dynamic password token according to the authentication key at the first time. The first time is the time when the user initiates the authentication request. The IAM system can match the user information with the user name and one-time password stored in the IAM database. The one-time password in the IAM database is generated by the IAM system according to the authentication key at the first time. It can be seen that the password for each OTP authentication is different. Specifically, the one-time password is a dynamic password generated by the dynamic password token and the IAM system at the same time according to the same authentication key, the same random number and algorithm.
[0064] S203. When the identity authentication is successful, obtain the authentication success message returned by the IAM system, and send the authentication success message to the target application.
[0065] When the match is successful, the proxy server can obtain the authentication success message returned by the IAM system, which includes user attribute information. The proxy server then sends the authentication success message to the target application. The user attributes include the user's name, gender, and the user's organization, etc. The authentication success message is used to indicate that the target user's identity authentication is successful and can further access the application.
[0066] After the proxy server sends the authentication success message to the target application, the proxy server can obtain the interaction information between the target user and the target application after the target user's identity authentication is successful. The interaction information includes multiple interaction data. For example, the interaction data can be the target user's login authentication time, authentication result, visited page name and page visit time, etc.
[0067] The proxy server can store the interaction information in the IAM database by calling the interface of the IAM system. The interaction information is used by the administrator for audit management. Audit management is to analyze the authentication behavior and interaction behavior of the target user. For example, the authentication behavior analysis is what application the user logged in at what time. Optionally, the proxy server can also encapsulate the obtained interaction information to form a complete user data, and then send the user data to the IAM system so that the IAM system stores the user data in the IAM database. Compared with the unencapsulated multiple data provided by the LDAPV3 protocol, for example, the authentication time is a separate data, and the authentication result is a separate data, the encapsulated data is more conducive to storage and management. In this way, it is possible to store the relevant data of the user of the client that only supports LDAP authentication and the relevant data of the application served by the IAM system in the IAM database, so that the administrator can centrally manage and reduce the difficulty of the administrator to manage user identity information. Of course, in addition to being stored in the IAM database, the interaction information will also be recorded in the log file to facilitate the administrator's use of the log file.
[0068] Of course, when the target user's identity authentication fails, the proxy server can also obtain the authentication result and authentication time, and store the authentication result and authentication time in the IAM database for the administrator's subsequent audit management. When the identity authentication fails, the proxy server also supports the password unlocking function. When the user attempts to authenticate multiple times, the user's authentication authority is blocked. The administrator can unlock the user's authentication authority so that the user can continue to initiate authentication requests.
[0069] After the proxy server stores the target user's interaction information in the IAM database, the proxy server can obtain the query conditions entered by the administrator. The query conditions include at least one query index, that is, the administrator can perform multi-condition queries. For example, when the administrator needs to query the basic information of employees of a branch company, in addition to entering the name of the branch company and the basic information of the employees, he can also enter the conditions of querying the first N pieces of data, or the name of the department, etc., to achieve cascade query. The query condition can be used by the IAM system to search the stored interaction information. For example, when the query condition is the user name and the authentication time, the administrator can query the interaction information generated by the user at the authentication time, or, when the query condition is only the user name, all the interaction information of the user can be queried. The administrator can also query information other than interaction information through other conditions. For example, when the query condition is the name of a branch company and the number of employees, the administrator can query the number of employees in the branch company.
[0070] The proxy server calls the interface of the IAM system and sends the query conditions to the IAM system, so that the IAM system can query the content to be queried in the IAM database according to the query conditions. After the IAM system queries the content to be queried, the proxy server can receive the content to be queried sent by the IAM system, and then display the content to be queried for the administrator, so that the administrator can implement audit management based on the queried content.
[0071] It should be noted that the administrator's authority is also authorized in a hierarchical manner, that is, the enterprise level determines the administrator's authority. For example, the administrator authority of the head office is higher than the administrator authority of the branch office. Specifically, the proxy server obtains the specific DN format information provided by the LDAPV3 protocol, and the format information carries the query conditions entered by the administrator. The DN format information can also include the level of the administrator's enterprise, which determines the administrator's authority. Exemplarily, the enterprise level can be divided into head office and branch office. The larger the scope that the administrator of the head office can access, that is, users of the head office can access the information of each branch office, while the administrator of the branch office can only access the information of the branch office where he is located.
[0072] In this embodiment, the proxy server obtains the user information of the target user and the authentication method corresponding to the target application, and then sends the user information and the authentication method to the IAM system, so that the IAM system authenticates the target user according to the authentication method and user information corresponding to the target application, that is, completes the authentication in the IAM system, and the authentication method is password authentication or one-time password OTP authentication. When the authentication is successful, the proxy server obtains the authentication success message returned by the IAM system, and then sends the authentication success message to the target application. The authentication success message is used to indicate that the target user's identity authentication is successful. The target application can also achieve authentication without accessing the LDAP server. Multiple authentication methods also enhance the security of enterprise information.
[0073] refer to Figure 3 , Figure 3 This is a signaling flow chart of a method for user identity authentication provided in Example 2 of the present application. Based on Example 1, this embodiment describes in detail the interaction process between devices, such as Figure 3 As shown, the proxy server based on the LDAP protocol can be applied to the server. The method provided in this embodiment includes the following steps.
[0074] S301. The target application sends the user information of the target user and the authentication method of the target application to the proxy server.
[0075] The target application is the LDAO client. The target application sends the user information of the target user and the authentication method of the target application to the proxy server by calling the LDAPV3 protocol interface provided by the proxy server. The user information includes the user name and password, and the authentication method is password authentication or OTP authentication.
[0076] S302: The proxy server sends the received user information of the target user and the authentication method of the target application to the IAM system.
[0077] The proxy server sends the target user's user information and the target application's authentication method to the IAM system by calling the IAM system's interface.
[0078] S303. The IAM system performs identity authentication on the target user according to the user information and authentication method.
[0079] The authentication method of the target application is the security level requirement of the target application that the proxy server can receive before the target user requests authentication, and is configured for the target application.
[0080] The specific authentication process will not be described in detail here, and reference may be made to step S202 in the first embodiment.
[0081] S304: When the identity authentication succeeds, the IAM system returns an authentication success message of the target user to the proxy server.
[0082] The user attribute information in the authentication success message includes the user's name, gender, and the organization to which the user belongs.
[0083] S305: The proxy server sends an authentication success message to the target application.
[0084] The authentication success message is used to indicate that the target user's identity is successfully authenticated and can further access the application.
[0085] S306: The target application sends the interaction information between the target user and the target application to the proxy server.
[0086] The interactive information includes multiple pieces of data, namely the target user's login authentication time, authentication result, name of the page visited and time of visiting the page, etc. The interactive information is used by the administrator for audit management.
[0087] The proxy server can also encapsulate the interactive information to form a complete user data for easy storage and management.
[0088] S307: The proxy server sends the interaction information between the target user and the target application to the IAM system.
[0089] S308. The IAM system stores the interaction information in the IAM database.
[0090] S309: The proxy server sends the query conditions entered by the administrator to the IAM system.
[0091] When the administrator needs to perform audit management on the personnel under his / her management, for example, to analyze the authentication and interaction behaviors of the target users, the administrator can enter query conditions in the proxy server, and the query conditions include at least one query index, that is, the administrator can perform multi-condition queries. For example, the query conditions may include the name of the branch, basic employee information, and department name, etc.
[0092] S310. The IAM system searches the IAM database for content to be queried according to the query conditions.
[0093] Exemplarily, the content to be queried may be identity information and / or interaction information of the target user.
[0094] S310, the IAM system sends the queried content to the proxy server.
[0095] S311. The proxy server displays the content to be queried.
[0096] Administrators can review the displayed content to be queried and implement audit management.
[0097] In this embodiment, the proxy server obtains the user information of the target user and the authentication method corresponding to the target application, and then sends the user information and the authentication method to the IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and user information corresponding to the target application, that is, completes the identity authentication in the IAM system, and the authentication method is password authentication or one-time password OTP authentication. When the identity authentication is successful, the proxy server obtains the authentication success message returned by the IAM system, and then sends the authentication success message to the target application. The authentication success message is used to indicate that the target user identity authentication is successful. The target application does not need to access the LDAP server to achieve authentication, and multiple authentication methods also enhance the security of enterprise information. In addition, the relevant data of the target application can be uniformly stored in the IAM database. The administrator can centrally manage the identity information of enterprise employees through a unified user platform, without having to manage the data stored in the IAM database and the LDAP server separately, thereby reducing the management cost of the enterprise.
[0098] refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of a proxy server based on the LDAP protocol provided in Example 3 of this application. Figure 4As shown, the server 40 includes: an acquisition module 401 , a sending module 402 and a processing module 403 .
[0099] The acquisition module 401 is used to acquire the user information of the target user and the authentication method of the target application. The user information includes the user name and password. The target application is an LDAP client.
[0100] The sending module 402 is used to send the user information and the authentication method to the identity identification and access management IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information. The authentication method includes password authentication or one-time password OTP authentication.
[0101] Processing module 403 is used to obtain an authentication success message returned by the IAM system when identity authentication succeeds, the authentication success message includes user attribute information, and send the authentication success message to the target application. The authentication success message is used to indicate that the identity authentication of the target user is successful.
[0102] Optionally, before obtaining the user information of the target user and the authentication method of the target application, the following steps are also included:
[0103] Get the security level requirements of the target application.
[0104] According to the security level requirements, configure the corresponding authentication method for the target application, which is used by users to log in to the target application.
[0105] Optionally, after sending the authentication success message to the target application, it also includes:
[0106] The interaction information of the target application is obtained, where the interaction information includes multiple pieces of interaction data.
[0107] The interaction information is stored in the IAM database and is used by administrators for audit management.
[0108] Optionally, store the interaction information in the IAM database, including:
[0109] Encapsulate the interactive information to form a complete piece of user data.
[0110] Send the user data to the IAM system so that the IAM system stores the user data in the IAM database.
[0111] Optionally, after the interaction information is stored in the IAM database, the following steps are also included:
[0112] The query condition input by the administrator is obtained, where the query condition includes at least one query index.
[0113] The query conditions are sent to the IAM system, so that the IAM system searches the IAM database for the content to be queried according to the query conditions.
[0114] Receive the content to be queried sent by the IAM system and display the content to be queried.
[0115] The server of this embodiment can be used to execute a method for user identity authentication in the first embodiment. The specific implementation method and technical effect are similar and will not be described in detail here.
[0116] refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of a proxy server based on the LDAP protocol provided in Example 4 of this application. Figure 5 As shown, the device 50 includes: a processor 501, a memory 502, and a transceiver 503. The processor 501 executes computer execution instructions stored in the memory 502, and controls the receiving action and the sending action of the transceiver 503, so that at least one processor executes a method step of user identity authentication in Example 1 or Example 2. The specific implementation method and technical effect are similar and will not be repeated here.
[0117] Embodiment 5 of the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement a method step of user identity authentication as described in any one of the above embodiments 1 or 2. The specific implementation method and technical effect are similar and will not be repeated here.
[0118] Embodiment 6 of the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method steps of a user identity authentication as described in any one of the above embodiments 1 or 2. The specific implementation method and technical effects are similar and will not be repeated here.
[0119] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0120] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for user identity authentication, It is characterized in that Applied to a proxy server based on the Lightweight Directory Access Protocol (LDAP), the proxy server provides an LDAPV3 protocol interface for a target application, and the method comprises: Obtaining specific format information provided by the LDAPV3 protocol, wherein the format information includes user information and the level of the enterprise where the administrator belongs; Obtaining user information of a target user and an authentication method of a target application, wherein the user information includes a user name and a password, and the target application is an LDAP client; By calling the interface of the IAM system, the user information and the authentication method are sent to the identity identification and access management IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information, and the authentication method includes password authentication or one-time password (OTP) authentication; When the identity authentication is successful, obtaining an authentication success message returned by the IAM system, wherein the authentication success message includes user attribute information, and sending the authentication success message to the target application, wherein the authentication success message is used to indicate that the identity authentication of the target user is successful; Acquire interaction information of the target application, wherein the interaction information includes a plurality of pieces of interaction data; The interaction information is stored in an IAM database, and the interaction information is used by an administrator for audit management; The scope of information that the administrator can view is determined according to the level of the enterprise to which the administrator belongs.
2. The method according to claim 1, It is characterized in that Before obtaining the user information of the target user and the authentication method of the target application, the method further includes: Obtaining security level requirements of the target application; According to the security level requirement, a corresponding authentication method is configured for the target application, and the authentication method is used for a user to log in to the target application.
3. The method according to claim 1, It is characterized in that The storing the interaction information in the IAM database includes: Encapsulating the interaction information to form a complete piece of user data; The user data is sent to the IAM system, so that the IAM system stores the user data in the IAM database.
4. The method according to claim 1 or 3, It is characterized in that After storing the interaction information in the IAM database, the method further includes: Acquire a query condition input by an administrator, wherein the query condition includes at least one query index; Sending the query condition to the IAM system so that the IAM system searches the IAM database for the content to be queried according to the query condition; The content to be queried sent by the IAM system is received, and the content to be queried is displayed.
5. A proxy server based on LDAP protocol, It is characterized in that include: An acquisition module, used for acquiring specific format information provided by the LDAPV3 protocol, wherein the format information includes user information and the level of the enterprise where the administrator is located; Obtaining user information of a target user and an authentication method of a target application, wherein the user information includes a user name and a password, and the target application is an LDAP client; A sending module, configured to send the user information and the authentication method to an identity identification and access management IAM system by calling an interface of the IAM system, so that the IAM system performs identity authentication on the target user according to the authentication method and the user information, wherein the authentication method includes password authentication or one-time password (OTP) authentication; The processing module is used to obtain the authentication success message returned by the IAM system when the identity authentication is successful, the authentication success message includes user attribute information, and send the authentication success message to the target application. The authentication success message is used to indicate that the identity authentication of the target user is successful; obtain the interaction information of the target application, the interaction information includes multiple interaction data; store the interaction information in the IAM database, and the interaction information is used for the administrator to perform audit management; determine the scope of information reviewed by the administrator according to the level of the enterprise where the administrator is located.
6. The proxy server according to claim 5, It is characterized in that Before obtaining the user information of the target user and the authentication method of the target application, the method further includes: Obtaining security level requirements of the target application; According to the security level requirement, a corresponding authentication method is configured for the target application, and the authentication method is used by a user to log in to the target application.
7. A proxy server based on LDAP protocol, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 4.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement a user identity authentication method as described in any one of claims 1 to 4.
9. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 4 when being executed by a processor.
