Connect LDAP from Spring
问题 I have to realize a web application based on Spring, allowing the user to manage LDAP data. The connection to the LDAP should be done only with the JNDI framework (no SpringLDAP allowed). For this, I realized a utility class to do the basic operations (add, update, delete, list, ...). Here is a short block of code of this class : public class LdapUtility { private static LdapUtility instance; private DirContext dirContext; public static LdapUtility getInstance() { if(LdapUtility.instance ==