Proxy configuration

tcosta

Hello,

When I save the proxy preferences, the application puts the proxy login password in the proxy URL field... I can't save it right. Can you help?

Thanks,
Tiago



heller
heller's picture
tcosta, We had a look at the

tcosta,

We had a look at the code and you are right, the proxy password is written into the proxy URL variable. A nasty copy and paste bug.
We fixed this already in the code but there seems to be no easy workaround for this problem. Is it ok to wait for the next build?

Regards
Heller



tcosta
Heller, This is kind of

Heller,

This is kind of critical for me, as I'm testing the application behind a proxy. When are you thinking of releasing the next build?

Regards,
Tiago



heller
heller's picture
If it is that urgent, this

If it is that urgent, this small java class will help you out:


import de.mendelson.comm.as2.preferences.PreferencesAS2;
public class ProxySetter {
public ProxySetter() {
}
public static final void main( String[] args ){
PreferencesAS2 preferences = new PreferencesAS2();
preferences.put( PreferencesAS2.AUTH_PROXY_HOST, "myproxyhost" );
preferences.put( PreferencesAS2.AUTH_PROXY_PASS, "myproxypass" );
preferences.putBoolean( PreferencesAS2.AUTH_PROXY_USE, true );
preferences.put( PreferencesAS2.AUTH_PROXY_USER, "myproxyuser" );
}
}

It will write your values (please replace myproxyhost, myproxyuser and myproxypass by your own values) to the m-e-c as2 preferences. Please include the library mec_as2.jar in the classpath when you compile and run it.
(If you don't know how to compile and run java classes please contact me via email, I will send you instructions)

Regards
Heller




© 1999-2008 mendelson-e-commerce GmbH. All right reserved.