public UsernamePasswordCredentialsProvider(String username, char[] password) {this.username = username;this.password = password;}

public UsernamePasswordCredentialsProvider(string username, char[] password){this.username = username;this.password = password;}
