public org.apache.xmlrpc.client.XmlRpcClient getRpcClient(String url) throws MalformedURLException {
return getRpcClient(url, null, null);
}
public org.apache.xmlrpc.client.XmlRpcClient getRpcClient(String url, String login, String password) throws MalformedURLException {
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL(url));
if (login != null) {
config.setBasicUserName(login);
}
if (password != null) {
config.setBasicPassword(password);
}
if (keyStoreComponent != null && keyStoreName != null && keyAlias != null) {
return new XmlRpcClient(config, keyStoreComponent, keyStoreName, keyAlias);
} else {