1202
1202
user = auth.get('user', None)
1203
1203
password = auth.get('password', None)
1207
1208
user = auth_conf.get_user(auth['protocol'], auth['host'],
1210
1211
prompt=self.build_username_prompt(auth))
1211
1212
if user is not None and password is None:
1212
1213
password = auth_conf.get_password(
1213
auth['protocol'], auth['host'], user, port=auth['port'],
1214
auth['protocol'], auth['host'], user,
1214
1216
path=auth['path'], realm=realm,
1215
1217
prompt=self.build_password_prompt(auth))