public class HostnameVerifierImpl extends Object implements HostnameVerifier
Constructor and Description |
---|
HostnameVerifierImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String host,
SSLSession session) |
boolean |
verify(String host,
SSLSession session,
long serverThreadId)
Verification, like HostnameVerifier.verify() with an additional server thread id to identify
connection in logs.
|
void |
verify(String host,
X509Certificate cert,
long serverThreadId)
Verification that throw an exception with a detailed error message in case of error.
|
public boolean verify(String host, SSLSession session)
verify
in interface HostnameVerifier
public boolean verify(String host, SSLSession session, long serverThreadId)
host
- host to connect (DNS/IP)session
- SSL sessionserverThreadId
- connection id to identify connection in logspublic void verify(String host, X509Certificate cert, long serverThreadId) throws SSLException
host
- hostnamecert
- certificateserverThreadId
- server thread Identifier to identify connection in logsSSLException
- exceptionCopyright © 2018 mariadb.org. All rights reserved.