[ 
https://issues.apache.org/jira/browse/JCLOUDS-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17574286#comment-17574286
 ] 

Anand commented on JCLOUDS-1616:
--------------------------------

[~gaul]
Please find the new pull request.
https://github.com/apache/jclouds/pull/151


> Proxy credentials validation is missing in OkHttpCommandExecutorService API 
> request
> -----------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1616
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1616
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core, jclouds-drivers
>            Reporter: Anand
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Hi,
> In our project, Azure ComputeServiceContext is constructed with proxy setting 
> properties (includes credentials) as below,
> overrides.setProperty(Constants.*PROPERTY_PROXY_HOST*, "...");
> overrides.setProperty(Constants.*PROPERTY_PROXY_PORT*, "..");
> overrides.setProperty(Constants.*PROPERTY_PROXY_TYPE*, 
> Proxy.Type.HTTP.name());
> overrides.setProperty(Constants.*PROPERTY_PROXY_USER*, "...");
> overrides.setProperty(Constants.*PROPERTY_PROXY_PASSWORD*, "...");
> ComputeServiceContext context = 
> ContextBuilder.newBuilder("azurecompute-arm").credentials(identity, 
> credential)
>                               
> .overrides(overrides).buildView(ComputeServiceContext.class);
> When the API request is called, OkHttpCommandExecutorService.invoke method 
> doesn't populate the credentials in the proxyAuthenticator during 
> okHttpClient builder.
> Therefore  validation of credentials is ignored.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to