public static interface DatabaseClientFactory.SSLHostnameVerifier
| Modifier and Type | Interface and Description |
|---|---|
static class |
DatabaseClientFactory.SSLHostnameVerifier.Builtin
Builtin supports builtin implementations of SSLHostnameVerifier.
|
| Modifier and Type | Field and Description |
|---|---|
static DatabaseClientFactory.SSLHostnameVerifier.Builtin |
ANY
The ANY SSLHostnameVerifier allows any hostname, which
can be useful during initial development but is not
recommended for production.
|
static DatabaseClientFactory.SSLHostnameVerifier.Builtin |
COMMON
The COMMON SSLHostnameVerifier applies common rules
for checking hostnames during SSL authentication (similar
to org.apache.http.conn.ssl.BrowserCompatHostnameVerifier).
|
static DatabaseClientFactory.SSLHostnameVerifier.Builtin |
STRICT
The STRICT SSLHostnameVerifier applies strict rules
for checking hostnames during SSL authentication (similar
to org.apache.http.conn.ssl.StrictHostnameVerifier).
|
| Modifier and Type | Method and Description |
|---|---|
void |
verify(String hostname,
String[] cns,
String[] subjectAlts)
Checks a hostname during SSL authentication.
|
static final DatabaseClientFactory.SSLHostnameVerifier.Builtin ANY
static final DatabaseClientFactory.SSLHostnameVerifier.Builtin COMMON
static final DatabaseClientFactory.SSLHostnameVerifier.Builtin STRICT
void verify(String hostname, String[] cns, String[] subjectAlts) throws SSLException
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 acceptableCopyright © 2013-2016 MarkLogic Corporation.