Eclipse proxy setting for XML validation


Running Eclipse 3.5 (= Galileo) under (K)Ubuntu Linux 9.10 . Corporate environment with HTTP proxies.

I have my Preferences | General | Network Connections all set up with HTTP, host, port, Authentication required and the credentials.

Eclipse is asking for my master password at Eclipse startup. So I've provided all the authorization I can think of but it seems to be not enough.

Proxy access is working OK (and without bugging me) for e.g. software updates and SVN updates from the Internet, but apparently fails for XML DTD validations. Eclipse pops up a dialog showing me my proxy host and asks for the proxy password. I would expect it to get this info from the proxy credentials I've set up. This happens quite often so it's very annoying to me. Is there anything I can do to alleviate this?

Best Solution

Did you try accessing to the internet with Eclipse (for update or XML validation) through manual Active Provider instead of native?

Eclipse shouldn't prompt you for a password at the beginning, and XML validation should work.
The bug 82037 was solved a long time ago, and current development settings (like this MOTODEV Studio for Android Installation) recommend manual settings for proxy.

When you are on a network that requires proxy authentication, MOTODEV Studio updates will only occur if the proxy information (including username and password) are manually set for both HTTP and HTTPS connections (in Preferences, under General > Network Connections).
This also affects the download and install of the Android SDK during the installation process. If during installation you are asked if you want to change the connection preferences, do so. Change the active provider to "Manual" and provide host, port, user, and password values for both the HTTP and HTTPS schemes.

Just tested it: it does prompt me for my credentials... once. The first time I try to validate an xml file like the one below.
But after that, it does not ask me for those credentials again.

<!DOCTYPE catalog
  PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"

  <group xml:base="">
    <public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN"
    <public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN"
    <public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN"
    <public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN"
    <public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN"
    <public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN"
    <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN"

  <public publicId="-//OASIS//DTD DocBook MathML Module V1.0//EN"

  <nextCatalog catalog="stylesheets.xml"/>


So basically, Eclipse needs your full internet credentials to be able to validate xml files at any times: proxy, port, username, password.
But when you must store the password, then a master password comes in play, and will be asked for at each Eclipse session (once):

The information stored in the secure storage (say, a CVS password) is encrypted with a "master" password. The master password is retrieved from a "password provider module". There are three password provider modules included in the SDK:

  • the default UI module in the
  • the Windows-specific module in the
  • the Mac-specific module in the