<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I think you can disable it by setting
your own authenticator.<br>
You can check how ECF sets its authenticator using the
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.UrlConnectionAuthenticator
class and the Authenticator.setDefault method.<br>
<br>
Snjeza<br>
<br>
On 11/6/2012 3:12 PM, André Dietisheim wrote:<br>
</div>
<blockquote cite="mid:50991ADA.2050509@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi<br>
<br>
In OpenShift tooling I have a dialog that allows you to
create/edit connections to OpenShift. Behind the scenes I'm using
HttpUrlConnection to talk to the OpenShift REST service. If I
provide invalid user-credentials Eclipse pops up a dialog for the
user to provide username and password on top of my dialog. <br>
<br>
<a moz-do-not-send="true"
href="https://issues.jboss.org/browse/JBIDE-12999">https://issues.jboss.org/browse/JBIDE-12999</a><br>
<br>
It turns out that Eclipse is registering it's very own
Authenticator in HttpUrlConnection which is invoking the Eclipse
credentials dialog if the Http response is 401.<br>
Does anybody know how to disable this in Eclipse? I'm pretty
stuck, I'd appreciate any input.<br>
<br>
Thanks!<br>
André<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
</blockquote>
<br>
</body>
</html>