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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
