public static class DatabaseClientFactory.SSLHostnameVerifier.Builtin extends Object implements DatabaseClientFactory.SSLHostnameVerifier
DatabaseClientFactory.SSLHostnameVerifier.Builtin
ANY, COMMON, STRICT
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the built-in.
|
void |
verify(String hostname,
String[] cns,
String[] subjectAlts)
Checks a hostname during SSL authentication.
|
public void verify(String hostname, String[] cns, String[] subjectAlts) throws SSLException
DatabaseClientFactory.SSLHostnameVerifier
verify
in interface DatabaseClientFactory.SSLHostnameVerifier
hostname
- the name of the checked hostcns
- common names for the checked hostsubjectAlts
- alternative subject names for the checked hostSSLException
- if the hostname isn't acceptablepublic String getName()
Copyright © 2013-2016 MarkLogic Corporation.