CN111221900A - Method for synchronizing user data to ldap by multiple heterogeneous systems - Google Patents

Method for synchronizing user data to ldap by multiple heterogeneous systems Download PDF

Info

Publication number
CN111221900A
CN111221900A CN201811425511.2A CN201811425511A CN111221900A CN 111221900 A CN111221900 A CN 111221900A CN 201811425511 A CN201811425511 A CN 201811425511A CN 111221900 A CN111221900 A CN 111221900A
Authority
CN
China
Prior art keywords
data
user
ldap
user data
configuring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811425511.2A
Other languages
Chinese (zh)
Inventor
文新
张来卿
庞严冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Original Assignee
Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd filed Critical Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Priority to CN201811425511.2A priority Critical patent/CN111221900A/en
Publication of CN111221900A publication Critical patent/CN111221900A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of software, in particular to a java software development technology. The method and the system obtain system user data by configuring SQL query statements of various heterogeneous systems, and lead a plurality of heterogeneous system user data into an LDAP server through the mapping relation from the configuration data table column to the LDAP attribute name, so that other systems can use the data conveniently and the data source can be used as a single sign-on data source. When the method is used together with the scheduling, the effect of timing and synchronizing data can be achieved. Therefore, the method does not need to modify the system, greatly reduces the integration cost, and is a very simple and efficient solution for many-to-one user centralized management.

Description

Method for synchronizing user data to ldap by multiple heterogeneous systems
Technical Field
The invention relates to the technical field of software, in particular to a heterogeneous system integrated single sign-on technology.
Background
At present, a large enterprise generally operates a plurality of sets of business systems, such as an HR system, an OA system, an electronic mail system and the like, if a unified user center is not provided, the situation that user data copies need to be manually maintained in a plurality of systems occurs, if user information needs to be modified in each system one by one, the login system needs to be logged in by a single input password, and thus, a large amount of repeated work is brought, and the maintenance cost is increased.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a unified user center, and as long as the main data source is modified, the system automatically synchronizes to the user center on the LDAP, and informs the subsystem to capture data for updating, and the pain of verifying account passwords and remembering multiple passwords by a user can be realized by combining with a single-point login system. The system administrator also only needs to maintain a single organizational structure on the primary data source to coordinate all of the integrated subsystems.
The scheme of the invention for solving the problems is as follows: the user data is transferred and stored through an international standard lightweight directory access protocol LDAP, application software compatible with various large manufacturers is sought, and meanwhile, any SQL data source is supported by combining configuration of SQL statements and DN path mounted data.
The method comprises the following steps:
the first step is as follows: and configuring DN paths to be mounted aiming at different data sources. I.e., configure different data sources to mount on different DNs.
The second step is that: and writing a user data query SQL statement and a user upper-layer organization linked list query statement aiming at the data source.
The third step: and configuring the mapping relation from the field name of the database table of the user and the upper organization linked list to the attribute name of the LDAP data.
The fourth step: and (4) the user data of the iterative data source system and the upper layer organization linked list thereof are written into the LDAP, and the updating time is set.
The fifth step: inquiring user data under the synchronous DN, forbidding the user whose updating time is not modified, deleting user data after the user seals the password by LDAP, judging whether the user in the sealed password library exists in LDAP again, automatically recovering the password by the data on the re-matching, and deleting the sealed password
And a sixth step: and empty nodes without users in the LDAP are cleared, and the tidiness of data is ensured.
The main advantages of the invention are: the code coupling of each system is reduced, the international universal unified data interface standard is used, the integration difficulty of developers is reduced, and the enterprise organization architecture management efficiency is improved.
Drawings
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of the present invention;
Detailed Description
As shown in fig. 1, there are the following operations in the process of integrating the isochronous data sources:
the first step is as follows: and configuring DN paths to be mounted aiming at different data sources. I.e., configure different data sources to mount on different DNs.
The second step is that: and writing a user data query SQL statement and a user upper-layer organization linked list query statement aiming at the data source.
The third step: mapping relation from database table field name to LDAP data attribute name of configuration user and upper layer organization linked list
The fourth step: and (4) the user data of the iterative data source system and the upper layer organization linked list thereof are written into the LDAP, and the updating time is set.
The fifth step: inquiring user data under the synchronous DN, forbidding the user whose updating time is not modified, deleting user data after the user seals the password by LDAP, judging whether the user in the sealed password library exists in LDAP again, automatically recovering the password by the data on the re-matching, and deleting the sealed password
And a sixth step: and empty nodes without users in the LDAP are cleared, and the tidiness of data is ensured.

Claims (2)

1. A method for synchronizing user data to an ldap by a plurality of heterogeneous systems, comprising: and reading data by configuring SQL statements of a specific database and then transferring the data to different DN nodes of the LDAP, thereby finishing data import integration.
2. The method for realizing data integration according to claim 1, comprising the steps of:
the first step is as follows: configuring DN paths to be mounted aiming at different data sources, namely configuring different data sources to be mounted on different DNs;
the second step is that: writing a user data query SQL statement and a user upper organization linked list query statement aiming at a data source;
the third step: configuring a mapping relation from a database table field name of a user and an upper layer organization linked list to an LDAP data attribute name;
the fourth step: the user data of the iterative data source system and the upper layer organization linked list thereof are written into the LDAP, and the updating time is set;
the fifth step: inquiring user data under the synchronous DN, forbidding the user whose updating time is not modified, deleting the user data after the user seals the password by the LDAP, judging whether the user in the sealed password library exists in the LDAP, automatically recovering the password by the data on the re-matching, and deleting the sealed password;
and a sixth step: and empty nodes without users in the LDAP are cleared, and the tidiness of data is ensured.
CN201811425511.2A 2018-11-27 2018-11-27 Method for synchronizing user data to ldap by multiple heterogeneous systems Pending CN111221900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811425511.2A CN111221900A (en) 2018-11-27 2018-11-27 Method for synchronizing user data to ldap by multiple heterogeneous systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811425511.2A CN111221900A (en) 2018-11-27 2018-11-27 Method for synchronizing user data to ldap by multiple heterogeneous systems

Publications (1)

Publication Number Publication Date
CN111221900A true CN111221900A (en) 2020-06-02

Family

ID=70827967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811425511.2A Pending CN111221900A (en) 2018-11-27 2018-11-27 Method for synchronizing user data to ldap by multiple heterogeneous systems

Country Status (1)

Country Link
CN (1) CN111221900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076574A (en) * 2023-10-16 2023-11-17 北京持安科技有限公司 Method and device capable of arranging multiple data sources for synchronous aggregation of data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076574A (en) * 2023-10-16 2023-11-17 北京持安科技有限公司 Method and device capable of arranging multiple data sources for synchronous aggregation of data
CN117076574B (en) * 2023-10-16 2024-01-23 北京持安科技有限公司 Method and device capable of arranging multiple data sources for synchronous aggregation of data

Similar Documents

Publication Publication Date Title
US11514076B2 (en) Cooperative naming for configuration items in a distributed configuration management database environment
EP2548137B1 (en) Distributed event system for relational models
JP6188732B2 (en) Computer-implemented method, computer program product, and system for managing tenant-specific data sets in a multi-tenant environment
US7574413B2 (en) System and method of discovering information
CN102262680B (en) Distributed database proxy system based on massive data access requirement
US20030145074A1 (en) System and method for resource management
US20120221605A1 (en) Linking framework for information technology management
WO2018036324A1 (en) Smart city information sharing method and device
CN103067463A (en) Centralized management system and centralized management method for user root permission
CN101876984A (en) Data management system and data relation query method and device thereof
US11226982B2 (en) Synchronization of offline instances
JP2016521427A (en) Method, device and system for peer-to-peer data replication and method, device and system for master node switching
US5740422A (en) Method and apparatus for resource management for a lan server enterprise
US20120259961A1 (en) System of managing remote resources
CN106953910A (en) A kind of Hadoop calculates storage separation method
CN109144785A (en) Method and apparatus for Backup Data
CN102355499A (en) Cloud computing system
CN109800234A (en) Service platform database system, upgrade method, equipment and storage medium
CN115905628A (en) Dynamic resource directory construction method, device, equipment and storage medium
US20030055921A1 (en) Method and apparatus for reengineering legacy systems for seamless interaction with distributed component systems
CN111221900A (en) Method for synchronizing user data to ldap by multiple heterogeneous systems
CN105723365B (en) Method for optimum indexing, main database node and subscriber database node
CN101789963A (en) Data synchronization system
CN110099128A (en) A kind of authentication data synchronous method and device
CN103220172A (en) Device and method based on LDAP (lightweight directory access protocol) user authorization management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200602

WD01 Invention patent application deemed withdrawn after publication