This time, we would like to gather all users account info. This time we need to check return objects recursively until it is in the Person category.
Continue reading Java – Connect Windows Active Directory Through LDAP @ 3
Tag Archives: JNDI
Java – Connect Windows Active Directory Through LDAP @ 2
So after getting the LdapContext, we could now retrieve a specific user account information using the SearchControls class Continue reading Java – Connect Windows Active Directory Through LDAP @ 2
Java – Connect Windows Active Directory Through LDAP @ 1
The Java Naming and Directory Interface (JNDI) is the standard Java API for multiple naming and directory services such as Lightweight Directory Access Protocol (LDAP).
Active Directory is a group of network services like account authentication and it supports LDAP. Therefore, you can write a Java program using JNDI in order to obtain the account credentials in the Active Directory of a Windows Server. Here comes the example. Continue reading Java – Connect Windows Active Directory Through LDAP @ 1