P
Pratik Savla
We are trying to connect to LDAP using below sample java code (Java 17).import javax.naming.*;import javax.naming.ldap.InitialLdapContext;import javax.naming.ldap.LdapContext;import java.util.Hashtable; public class LDAPBindSSLExample { public static void main(String[] args) throws Exception { String ldapURL = "ldaps://machine.domain.com:636"; String username = "username"; // without @domain String domainName = "domain.com"; String password = "password"; String timeout = "5000"; Hashtable<String, String> env = new Hashtable<>();
Continue reading...
Continue reading...