Skip to content
Permalink
Browse files Browse the repository at this point in the history
SECURITY-877
  • Loading branch information
spolti committed Mar 26, 2015
1 parent 347d35e commit 0dc9d19
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 84 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,5 +6,7 @@ jboss-negotiation-net/target
jboss-negotiation-ntlm/target
jboss-negotiation-spnego/target
jboss-negotiation-toolkit/target
jboss-negotiation-toolkit/.project
jboss-negotiation-toolkit/.classpath
*.iml
*~
Expand Up @@ -908,11 +908,14 @@ protected void traceLdapEnv(Properties env)
tmp.putAll(env);
String credentials = tmp.getProperty(Context.SECURITY_CREDENTIALS);
String bindCredential = tmp.getProperty(BIND_CREDENTIAL);
if (credentials != null && credentials.length() > 0)
tmp.setProperty(Context.SECURITY_CREDENTIALS, "***");

if (bindCredential != null && bindCredential.length() > 0)
tmp.setProperty(BIND_CREDENTIAL, "***");
if (credentials != null && credentials.length() > 0) {
tmp.setProperty(Context.SECURITY_CREDENTIALS, "***");
}

if (bindCredential != null && bindCredential.length() > 0) {
tmp.setProperty(BIND_CREDENTIAL, "***");
}

log.trace("Logging into LDAP server, env=" + tmp.toString());
}
Expand Down
28 changes: 0 additions & 28 deletions jboss-negotiation-toolkit/.classpath

This file was deleted.

52 changes: 0 additions & 52 deletions jboss-negotiation-toolkit/.project

This file was deleted.

0 comments on commit 0dc9d19

Please sign in to comment.