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).
|
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
Copyright © 2013-2015 MarkLogic Corporation.