BasicNetworkCredential.forChallenge constructor

BasicNetworkCredential.forChallenge(
  1. BasicAuthenticationChallenge challenge,
  2. String username,
  3. String password
)

Creates a BasicNetworkCredential for the server specified in the BasicAuthenticationChallenge.