public BasicAuthenticationProvider(String username, String
password) constructs a BasicAuthenticationProvider
object.
Parameters
- String username
- Username to use to connect to the repository.
- String password
- Password that corresponds to the username.
Returns
Constructs a BasicAuthenticationProvider object.