Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

diguage

🎯
Focusing
View GitHub Profile
@diguage
diguage / LDAPTest.java
Last active Aug 1, 2019
It is a Java example for LDAP.
View LDAPTest.java
// Copy from http://www.adamretter.org.uk/blog/entries/LDAPTest.java
LDAPTest.javapackage ldaptest;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import javax.naming.directory.SearchControls;
You can’t perform that action at this time.