Revision 788
Added by bojilova over 23 years ago
src/edu/ucsb/nceas/metacat/AuthLdap.java | ||
---|---|---|
609 | 609 |
Hashtable env = new Hashtable(11); |
610 | 610 |
env.put(Context.INITIAL_CONTEXT_FACTORY, |
611 | 611 |
"com.sun.jndi.ldap.LdapCtxFactory"); |
612 |
env.put(Context.PROVIDER_URL, "ldap://dev.nceas.ucsb.edu:389/" + ldapBase);
|
|
612 |
env.put(Context.PROVIDER_URL, ldapUrl + ldapBase);
|
|
613 | 613 |
|
614 | 614 |
try { |
615 | 615 |
|
Also available in: Unified diff
fixed bug - hardcoded LDAP URL