Philippe Nobili - GPM Team wrote:
> Thank you for your very quick reply. Actually, we never save passwords
> permanently, so you won't find the user and password in the
> preferences.properties file. Anyway, that's no problem to give you this
> information:
> 
> User: epoujoulet, Password: epoujoulet
> 
> (BTW, we do not even get to the point where the user and password are
> required). 

This is an important symptom.



> The passwords are encoded using DIGEST method with the
> following realm: cggveritas.com
> 
> Please find attached the preferences.properties file. As you suggested
> the problem may lie here because if we remove this file, it starts
> working again...

--> I tried to reproduce the way you work: User: epoujoulet, Password:
epoujoulet, DIGEST authentication, Realm: cggveritas.com, SuSE Linux
9.3, Java 1.6, passwords not saved in preferences.properties, start with
no ~/.xxe/ at all and then restart several times.

I never managed to reproduce the problem you have reported.



--> Do you use a proxy server at cggveritas.com? (Being a small company,
we don't here at XMLmind). Strange problems like this are often caused
by proxy servers.

Here's what could happen:

* The first time, XXE is started without a preferences.properties ==>
proxies are not configured by XXE. In such case, I guess that the user
uses a direct connection to the Internet.

* The second time, XXE is started with a ``plain''
preferences.properties ==> proxies are configured by XXE. By default,
because you use Java 1.5+, XXE sets system property to
"java.net.useSystemProxies" to "true".

In such case,

* either the proxy properties of the user are not properly configured in
the Gnome/KDE/Windows/Mac desktop;

* OR they are properly configured, but the user is prompted to type the
username/password needed to authenticate with the *proxy* and for a
reason we can't explain (we do not control that), the authentication
dialog box is never displayed.

If my scenario is correct, simply tell your users to immediately check
"Direct connection to the Internet" in Options|Preferences, Advanced
options|Proxies options. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#proxiesOptions.


This should work, because the fact that it works the first time
indicates that you don't need a proxy to access your WebDAV server.



--> We'll fix this bug: XXE should behave the same whether you have a
``plain'' preferences.properties or you don't have a
preferences.properties at all. This way, it will *not* work for some of
your users, even the very first time they start XXE ;-)








Reply via email to