You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Mark Holster (JIRA)" <ji...@apache.org> on 2010/06/25 16:12:50 UTC

[jira] Commented: (AXIS2-4003) Axis2 does not handle http.proxyUser and http.proxyPassword.

    [ https://issues.apache.org/jira/browse/AXIS2-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882587#action_12882587 ] 

Mark Holster commented on AXIS2-4003:
-------------------------------------

I've encountered this behaviour as well: As soon as the system property "http.proxyHost" is set, it's impossible to use proxy authentication. This is because the class org.apache.axis2.transport.http.ProxyConfiguration is overruling the (runtime) provided proxy settings with the Java system properties http.proxyHost & http.proxyPort.
I would like to provide a patch to fix this issue, but i'm not sure if it's desired to let the system settings override the manual settings. Shouldn't is be the other way around?

I would say the order is as follow:
1. Use the HttpTransportProperties.ProxyProperties if present.
2. When unavailable, us the axis xml configuration if present.
3. When unavailable , fallback to the System properties.

Can somebody confirm this? If this is the desired behaviour I'll try to provide the patch.

Greetings,
Mark

> Axis2 does not handle http.proxyUser and http.proxyPassword.
> ------------------------------------------------------------
>
>                 Key: AXIS2-4003
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4003
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Any platform
>            Reporter: Sean Cote
>
> Axis2 pays attention to http.proxyHost and http.proxyPort, but as soon as I tried to use a proxy-server with authentication, this stopped working. I got around this by creating a ProxyProperties Object, but all of the standard Java networking properties should work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org