My customer is using AD , and I need to authenticate my user in java via LDAP, I wrote this simple code

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,...