mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-12 04:55:36 +00:00
Casting the result of getPeerCertificates() to X509Certificate[] mirrors what is done in the ActiveMQ "Classic" code-base. A few tests which were imported from ActiveMQ "Classic" to verify our OpenWire implementation were removed as they relied on a "stub" implementation of javax.net.ssl.SSLSession that never would have worked across multiple JDKs once javax.security.cert.X509Certificate[] was removed. Furthermore, the tests appeared to be related to the OpenWire *client* and not relevant to our broker-side implementation.