in src/main/java/com/microsoft/azure/proton/transport/proxy/impl/ProxyAuthenticator.java [111:120]
static boolean isPasswordAuthenticationHasValues(PasswordAuthentication passwordAuthentication) {
if (passwordAuthentication == null) {
return false;
}
final String username = passwordAuthentication.getUserName();
final char[] password = passwordAuthentication.getPassword();
return !StringUtils.isNullOrEmpty(username) && password != null && password.length > 0;
}