Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

diguage

🎯
Focusing
Block or report user

Report or block diguage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.