public static class DatabaseClientFactory.DigestAuthContext
extends java.lang.Object
Constructor and Description |
---|
DigestAuthContext(java.lang.String user,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword() |
java.lang.String |
getUser() |
DatabaseClientFactory.DigestAuthContext |
withSSLContext(javax.net.ssl.SSLContext context,
javax.net.ssl.X509TrustManager trustManager)
The SSLContext should be initialized with
KeyManager and TrustManager using a KeyStore.
|
DatabaseClientFactory.DigestAuthContext |
withSSLHostnameVerifier(DatabaseClientFactory.SSLHostnameVerifier verifier)
Specifies the host verifier for a client that
verifies hosts for additional security.
|
public DigestAuthContext(java.lang.String user, java.lang.String password)
public java.lang.String getUser()
public java.lang.String getPassword()
public DatabaseClientFactory.DigestAuthContext withSSLContext(javax.net.ssl.SSLContext context, javax.net.ssl.X509TrustManager trustManager)
DatabaseClientFactory.SecurityContext
withSSLContext
in interface DatabaseClientFactory.SecurityContext
context
- - the SSLContext object required for the
SSL connectiontrustManager
- - X509TrustManager with which we
initialize the SSLContextpublic DatabaseClientFactory.DigestAuthContext withSSLHostnameVerifier(DatabaseClientFactory.SSLHostnameVerifier verifier)
DatabaseClientFactory.SecurityContext
withSSLHostnameVerifier
in
interface DatabaseClientFactory.SecurityContext
verifier
- the host verifierCopyright © 2024 MarkLogic Corporation. All Rights Reserved.