Skip to content
Permalink
Browse files
[JENKINS-42739] Fix the NPE
  • Loading branch information
fbelzunc committed Mar 14, 2017
1 parent 3f16b77 commit 44528ab1d6735c6125569d5e1f3a68760608b59e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -296,7 +296,7 @@ public UserDetails retrieveUser(final String username, final String password, fi
UserDetails userDetails;
String hashKey = username + "@@" + DigestUtils.sha1Hex(password);
final String bindName = domain.getBindName();
final String bindPassword = domain.getBindPassword().getPlainText();
final String bindPassword = Secret.toString(domain.getBindPassword());
try {
final ActiveDirectoryUserDetail[] cacheMiss = new ActiveDirectoryUserDetail[1];
userDetails = userCache.get(hashKey, new Callable<UserDetails>() {

0 comments on commit 44528ab

Please sign in to comment.