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
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "user '" + username + '\'' +
|
return "PasswordCredentials{username='" + username + "'}";
|
||||||
" with password of length " + ((password == null) ? 0 : password.length());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user