if (null == this.gssCredential) {
new MyProxyDialog(this.engine).show(true);
this.gssCredential = this.engine.getMyProxyClient().getProxy();
// if its still null => user cancelled
if (null == this.gssCredential) {
throw new XBayaRuntimeException("GSI Credintial cannot be null");
}
}
if (this.xregistryURL == null) {
this.xregistryURL = XBayaConstants.DEFAULT_XREGISTRY_URL;
}
if (this.xregistryURL == null) {
throw new XBayaRuntimeException("XRegistry URL cannot be null");
}
try {
this.xregistryClient = new XRegistryClient(this.gssCredential, XBayaSecurity.getTrustedCertificates(), this.xregistryURL.toString());
} catch (XRegistryClientException e) {
throw new XBayaRuntimeException(e);
}
}