mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
crucial typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10093 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: 499d10ce0b5b01831349fa4820122e110ff56867
This commit is contained in:
parent
a953d15b38
commit
46d6b2ecec
|
@ -239,7 +239,7 @@ public class LDAPSecurityRealm extends SecurityRealm {
|
|||
props.put(Context.SECURITY_PRINCIPAL,managerDN);
|
||||
}
|
||||
if(managerPassword!=null && managerPassword.trim().length() > 0 && !"undefined".equals(managerPassword)) {
|
||||
props.put(Context.SECURITY_PRINCIPAL,managerPassword);
|
||||
props.put(Context.SECURITY_CREDENTIALS,managerPassword);
|
||||
}
|
||||
DirContext ctx = LdapCtxFactory.getLdapCtxInstance("ldap://"+server+'/', props);
|
||||
ctx.getAttributes("");
|
||||
|
|
Loading…
Reference in a new issue