| Issue 282: | ldap without password: null pointer exception | |
| 1 person starred this issue and may be notified of changes. | Back to list |
If you set username and not password under [ldap], you will get a null
pointer exception.
LdapRealm.java, lines 462 to 465 assume that if there is a username set
there is a password set:
if (username != null) {
env.put(Context.SECURITY_PRINCIPAL, username);
env.put(Context.SECURITY_CREDENTIALS, password);
}
Oct 21, 2012
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Owner: s...@google.com
Labels: FixedIn-2.0.22