[
https://issues.apache.org/jira/browse/HDDS-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaoyu Yao resolved HDDS-3453.
------------------------------
Fix Version/s: 0.6.0
Resolution: Fixed
Thanks all for the reviews and discussions. I've merged the PR to master.
> Use UrlConnectionFactory to handle HTTP Client SPNEGO for ozone components
> --------------------------------------------------------------------------
>
> Key: HDDS-3453
> URL: https://issues.apache.org/jira/browse/HDDS-3453
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.6.0
>
>
> Some of the places that need to be fixed, otherwise those http client won't
> be able to access the endpoints when SPNEGO is enabled on the server side.
> ReconUtils#makeHttpCall
> OzoneManagerSnapshotProvider#getOzoneManagerDBSnapshot
> The right API to use should be URLConnectionFactory
> public URLConnection openConnection(URL url, boolean isSpnego)
> The isSpnego should be based on OzoneSecurityUtil.isHttpSecurityEnabled()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]