GitHub user zregvart opened a pull request:

    https://github.com/apache/camel/pull/1427

    CAMEL-10764 The use of BrowserCompatHostname...

    ...Verifier is deprecated
    
    The BrowserCompatHostnameVerifier has been deprecated in HttpClient
    version 4.4, instead DefaultHostnameVerifier should be used. The commit
    also changes the type of `x509HostnameVerifier` from
    `X509HostnameVerifier` to `HostnameVerifier`.
    
    Due to HTTPCLIENT-1802[1] version of HttpClient was upgraded to 4.5.3
    from 4.5.2.
    
    Compatibility note: this changes the getter `getX509HostnameVerifier`
    from `X509HostnameVerifier` to `HostnameVerifier` so any client code
    using this getter needs to be changed. For the setter
    `setX509HostnameVerifier` this is not an issue as the deprecated
    `X509HostnameVerifier` extends from `HostnameVerifier`.
    
    [1] https://issues.apache.org/jira/browse/HTTPCLIENT-1802

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-10764

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1427.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1427
    
----
commit 4dfdd7eebd5f2db655edafb5e7ff4042bec39912
Author: Zoran Regvart <zo...@regvart.com>
Date:   2017-01-30T09:13:58Z

    CAMEL-10764 The use of BrowserCompatHostname...
    
    ...Verifier is deprecated
    
    The BrowserCompatHostnameVerifier has been deprecated in HttpClient
    version 4.4, instead DefaultHostnameVerifier should be used. The commit
    also changes the type of `x509HostnameVerifier` from
    `X509HostnameVerifier` to `HostnameVerifier`.
    
    Due to HTTPCLIENT-1802[1] version of HttpClient was upgraded to 4.5.3
    from 4.5.2.
    
    Compatibility note: this changes the getter `getX509HostnameVerifier`
    from `X509HostnameVerifier` to `HostnameVerifier` so any client code
    using this getter needs to be changed. For the setter
    `setX509HostnameVerifier` this is not an issue as the deprecated
    `X509HostnameVerifier` extends from `HostnameVerifier`.
    
    [1] https://issues.apache.org/jira/browse/HTTPCLIENT-1802

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to