protected ISVNAuthenticationManager createClientAuthenticationManager() {
File configDir = myConfigDir != null ? new File(myConfigDir) : SVNWCUtil.getDefaultConfigurationDirectory();
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(configDir, myUserName,
myPassword, !myIsNoAuthCache);
if (!myIsNonInteractive) {
authManager.setAuthenticationProvider(new SVNConsoleAuthenticationProvider(myIsTrustServerCertificate));
}
return authManager;
}