Release Note: Retired the Deprecated SSLSession.getPeerCertificateChain() Method Implementation

XMLWordPrintable

      The implementation of the deprecated `SSLSession.getPeerCertificateChain()` method has been removed from the JDK in the SunJSSE provider and the HTTP client implementation. The default implementation of this method has been changed to throw UnsupportedOperationException.

      `SSLSession.getPeerCertificateChain()` is a deprecated method and will be removed in a future release. To mitigate the removal compatibility impact, applications should use the `SSLSession.getPeerCertificates()` method instead. For service providers, please remove this method from the existing implementation, and do not support this method in any new implementation.

            Assignee:
            Xuelei Fan
            Reporter:
            Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: