* @return xregistryconnection
* @throws XregistryException
*/
private void connectToXRegistry() throws XRegistryClientException {
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");
}