HADOOP-14055. SwiftRestClient includes pass length in exception if auth fails. Contributed by Marcell Hegedus.
This commit is contained in:
parent
1238fa71f8
commit
2b7a7bbe0f
@ -80,8 +80,7 @@ public void setUsername(String username) {
|
||||
|
||||
@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
Block a user