You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "vyommani (via GitHub)" <gi...@apache.org> on 2026/08/17 06:54:25 UTC
[PR] RANGER-5747: Migrate NiFiClient and NiFiRegistryClient to use RangerDefaultHostnameVerifier [ranger]
vyommani opened a new pull request, #1161:
URL: https://github.com/apache/ranger/pull/1161
## What changes were proposed in this pull request?
RANGER-5689 introduced a shared RangerDefaultHostnameVerifier (backed by Apache HttpClient's DefaultHostnameVerifier) and migrated RangerRESTClient, RangerSslHelper, RangerAdminJersey2RESTClient, and RangerUgSyncRESTClient onto it as the single implementation for TLS hostname verification across Ranger's HTTP clients.
NiFiClient and NiFiRegistryClient were not part of that migration and each maintained their own custom hostname-verifier implementation, independent of the shared one. This PR migrates both to RangerDefaultHostnameVerifier, removing the duplicated custom verifier classes so all Ranger HTTP clients now share one consistently tested implementation, reducing the maintenance burden of keeping multiple custom verifiers in sync.
## How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
added a new test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RANGER-5747: Migrate NiFiClient and NiFiRegistryClient to use RangerDefaultHostnameVerifier [ranger]
Posted by "vyommani (via GitHub)" <gi...@apache.org>.
vyommani merged PR #1161:
URL: https://github.com/apache/ranger/pull/1161
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org