pd.setServer(proxyServer);
if(!StringUtil.isEmpty(proxyUsername))pd.setUsername(proxyUsername);
if(!StringUtil.isEmpty(proxyPassword))pd.setPassword(proxyPassword);
if(proxyPort!=-1)pd.setPort(proxyPort);
}
RemoteClient client = new RemoteClientImpl(
getString("admin",action,"label"),
type==TYPE_WEB?"web":"server",
getString("admin",action,"url"),
getString("serverUsername",null),
getString("serverPassword",null),