Adds authentication credentials (if any) for current target to the password manager (used by connection handler)
()
| 1310 | conf.boundaries = [boundary] |
| 1311 | |
| 1312 | def _setAuthCred(): |
| 1313 | """ |
| 1314 | Adds authentication credentials (if any) for current target to the password manager |
| 1315 | (used by connection handler) |
| 1316 | """ |
| 1317 | |
| 1318 | if kb.passwordMgr and all(_ is not None for _ in (conf.scheme, conf.hostname, conf.port, conf.authUsername, conf.authPassword)): |
| 1319 | kb.passwordMgr.add_password(None, "%s://%s:%d" % (conf.scheme, conf.hostname, conf.port), conf.authUsername, conf.authPassword) |
| 1320 | |
| 1321 | def _setHTTPAuthentication(): |
| 1322 | """ |
no outgoing calls
no test coverage detected
searching dependent graphs…