In the Microsoft platform Single Sign On solution, most of them are implemented using Active Directory. However, in the real environment, many enterprises do not want to use the AD service for a variety of reasons (either the original Unix or Linux environment, or other directory services. In this way, when we use the. net Technology for EAI, we will encounter a problem. How can we achieve unified user management and authorization? To use databases, you need to maintain user ing in different systems, which is inconvenient to manage and troublesome to implement. Jeet recently encountered a problem in a project. the user's original BI system adopts the Sun Directory Service and requires that the system integration we have done requires a single point of login integrated with LDAP, implement unified user authentication and authorization.
Originally thought to use System. directoryServices can easily access the LDAP server. directoryServices is only suitable for accessing Microsoft's AD in LDAP mode, and cannot access other LDAP-standard servers.
JAVA is inherently compatible with LDAP because of its cross-platform feature, but. net does not know whether Microsoft intends to provide support for other LDAP servers. There is no way to find a solution by yourself. Thanks to Novell, which jeet has always liked, it provides LDAP Libraries for C # and source code based on MIT License, which makes it possible. operating the LDAP server under. net and supporting Linux and windows platforms is a good choice for implementing EAI. Because LDAP Libraireis for C # requires Mono. Security, you must install Mono first. You can download the latest Mono and install Mono at http://www.mono-project.com/main_page. Jeet encountered an interesting problem during use. A stable version 1.0.6 was downloaded, but an error was reported when compiling the LDAP Libraies code, it took only half a day to know that it was because of mono problems. Re-download Mono 1.1.4 to update Mono. security. the dll import project can finally be compiled successfully.
Combined with the LDAP Libraries sample code and its own implementation methods, we have successfully implemented an LDAP server-based single-point logon security case for the customer.