Commit a51fe79a authored by suntao's avatar suntao

ldap

parent 61309628
......@@ -25,7 +25,7 @@ public class LDAPAuthentication {
private void ldapConnect() {
Hashtable<String, String> env = new Hashtable<String, String>();
env.put(Context.INITIAL_CONTEXT_FACTORY, FACTORY);
env.put(Context.PROVIDER_URL, URL + BASEDN);
env.put(Context.PROVIDER_URL, URL);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
String root = "cn=common_auth_query,cn=users,DC=quantgroup,DC=cn";// root
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment