Callback[] kcallbacks = {kspw};
cb.handle(kcallbacks);
File caTop = new File(caTopPath);
File keyStore = new File(keystorePath);
JGDIProxy.setupSSL(host, port, caTop, keyStore, kspw.getPassword());
kspw.clearPassword();
kspw = null;
}
Object credentials = new String[]{username, userpw};
JGDIProxy jgdiProxy = JGDIFactory.newJMXInstance(host, port, credentials);