Class ConfluentTrustManager

java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
io.confluent.kafka.client.plugins.ssl.ConfluentTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager
Direct Known Subclasses:
NetworkLinkTrustManager

public class ConfluentTrustManager extends X509ExtendedTrustManager
A trust manager that verifies that the client invalid input: '&' server certificate presented during clientAuth belongs to confluent cloud and then delegates to the defaultTrustManager for general certificate chain validation. It first verifies that the subjectAltName is CCloud host and if missing it verifies the subject belongs to confluent cloud.