[jbosstools-dev] how to disable Eclipse UserValidationDialog?

André Dietisheim adietish at redhat.com
Tue Nov 6 09:12:42 EST 2012


Hi

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.

https://issues.jboss.org/browse/JBIDE-12999

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.
Does anybody know how to disable this in Eclipse? I'm pretty stuck, I'd 
appreciate any input.

Thanks!
André



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20121106/3991d83a/attachment.html 


More information about the jbosstools-dev mailing list