* @param password user's password.
* @param config transport configuration.
*/
public static RedmineManager createWithUserAuth(String uri, String login,
String password, TransportConfiguration config) {
final Transport transport = new Transport(
new URIConfigurator(uri, null), config.client);
transport.setCredentials(login, password);
return new RedmineManager(transport, config.shutdownListener);
}