public interface TibjmsSSLHostNameVerifier
| Modifier and Type | Method and Description |
|---|---|
void |
verifyHostName(java.lang.String connectedHostName,
java.lang.String expectedHostName,
java.lang.String certificateCommonName,
java.security.cert.X509Certificate server_certificate)
Called when the client needs to verify the certificate name.
|
void verifyHostName(java.lang.String connectedHostName,
java.lang.String expectedHostName,
java.lang.String certificateCommonName,
java.security.cert.X509Certificate server_certificate)
throws JMSSecurityException
connectedHostName - an actual name of the host running the connected TLS server.expectedHostName - the name set via TibjmsSSL.setExpectedHostName() method or
set in the ConnectionFactory.certificateCommonName - the value of CN field in the server certificate subject.server_certificate - the server certificate.JMSSEcurityException - if host name verification fails, i.e. the name in the
certificate is unknown or is not correct.JMSSecurityExceptionCopyright © Cloud Software Group, Inc. All rights reserved