HADOOP-14055. SwiftRestClient includes pass length in exception if auth fails. Contributed by Marcell Hegedus.
This commit is contained in:
parent
7c3578ca17
commit
c88ec54588
|
@ -80,8 +80,7 @@ public class PasswordCredentials {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "user '" + username + '\'' +
|
||||
" with password of length " + ((password == null) ? 0 : password.length());
|
||||
return "PasswordCredentials{username='" + username + "'}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue