axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohamed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3839) Java Networking Properties for proxy override HttpTransportProperties and clear authentication information
Date Mon, 23 Aug 2010 13:00:26 GMT

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

Mohamed commented on AXIS2-3839:
--------------------------------

The described workaround could work just for a single process without concurrent threads!

How could i run concurrent threads with different proxy credentials? The workaround doesn't
give the answer!
Couldn't this bug get resolved ASAP?!  Is there a workaraound for the thread issue?

> Java Networking Properties for proxy override HttpTransportProperties and clear authentication
information
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3839
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3839
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4, 1.3
>            Reporter: Michael Ihde
>         Attachments: ProxyConfiguration_AXIS2-3839.patch
>
>
> In ProxyConfiguration.configure(), the proxy settings are checked in the following order:
> 1. Config values from Axis2.xml
> 2. HTTPConstants.PROXY property
> 3. Java Networking Properties
> In our case, we have a proxy that requires authentication so we properly set the HTTPConstants.PROXY
property.  However, for other components in our system we must also set the Java Networking
Properties.  Thus, on line 185 the credentials that were set via the runtime options are reset
to:
> proxyCred = new UsernamePasswordCredentials("","");
> Steps To Recreate:
> 1. HttpTransportProperties.ProxyProperties to setup a authenticated proxy
> 2. Set Java Networking Properties to the same proxy
> 3. Attempt to use connection
> Expected Behavior:
> 1. Proxy properties specified via HttpTransportProperties override all other proxy configurations
(Axis2.xml and Java Networking)
> Workaround:
> 1. Wrap the execute command with code that temporarily removes the Java Networking Properties

-- 
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


Mime
View raw message