Package | Description |
---|---|
com.marklogic.client |
The package provides the core classes,
interfaces and exceptions for working with the database.
|
com.marklogic.client.extra.okhttpclient |
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseClientFactory.BasicAuthContext |
static class |
DatabaseClientFactory.CertificateAuthContext |
static class |
DatabaseClientFactory.DigestAuthContext |
static class |
DatabaseClientFactory.KerberosAuthContext |
static class |
DatabaseClientFactory.MarkLogicCloudAuthContext |
static class |
DatabaseClientFactory.OAuthContext |
static class |
DatabaseClientFactory.SAMLAuthContext
A SAMLAuthContext is used for authorization
using SAML.
|
Modifier and Type | Method and Description |
---|---|
DatabaseClientFactory.SecurityContext |
DatabaseClient.getSecurityContext() |
DatabaseClientFactory.SecurityContext |
DatabaseClientFactory.Bean.getSecurityContext()
Returns the security context for clients created
with a DatabaseClientFactory.Bean object - BasicAuthContext,
DigestAuthContext or KerberosAuthContext
|
DatabaseClientFactory.SecurityContext |
DatabaseClientFactory.SecurityContext.withSSLContext(javax.net.ssl.SSLContext context,
javax.net.ssl.X509TrustManager trustManager)
The SSLContext should be initialized with
KeyManager and TrustManager using a KeyStore.
|
DatabaseClientFactory.SecurityContext |
DatabaseClientFactory.SecurityContext.withSSLHostnameVerifier(DatabaseClientFactory.SSLHostnameVerifier verifier)
Specifies the host verifier for a client that
verifies hosts for additional security.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseClient |
DatabaseClientFactory.newClient(java.lang.String host,
int port, DatabaseClientFactory.SecurityContext securityContext)
Creates a client to access the database by means
of a REST server.
|
static DatabaseClient |
DatabaseClientFactory.newClient(java.lang.String host,
int port, DatabaseClientFactory.SecurityContext securityContext,
DatabaseClient.ConnectionType connectionType)
Creates a client to access the database by means
of a REST server.
|
static DatabaseClient |
DatabaseClientFactory.newClient(java.lang.String host,
int port, java.lang.String database, DatabaseClientFactory.SecurityContext securityContext)
Creates a client to access the database by means
of a REST server.
|
static DatabaseClient |
DatabaseClientFactory.newClient(java.lang.String host,
int port, java.lang.String database, DatabaseClientFactory.SecurityContext securityContext,
DatabaseClient.ConnectionType connectionType)
Creates a client to access the database by means
of a REST server.
|
static DatabaseClient |
DatabaseClientFactory.newClient(java.lang.String host,
int port, java.lang.String basePath,
java.lang.String database, DatabaseClientFactory.SecurityContext securityContext,
DatabaseClient.ConnectionType connectionType)
Creates a client to access the database by means
of a REST server.
|
void |
DatabaseClientFactory.Bean.setSecurityContext(DatabaseClientFactory.SecurityContext securityContext)
Specifies the security context for clients
created with a DatabaseClientFactory.Bean object
|
DatabaseClientBuilder |
DatabaseClientBuilder.withSecurityContext(DatabaseClientFactory.SecurityContext securityContext) |
Modifier and Type | Method and Description |
---|---|
static
okhttp3.OkHttpClient.Builder |
OkHttpClientBuilderFactory.newOkHttpClientBuilder(java.lang.String host,
DatabaseClientFactory.SecurityContext securityContext) |
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.