Code example for BasicCredentialsProvider

Methods: setCredentials