public static class Bootstrapper.ConfigServer
extends java.lang.Object
| Constructor | Description |
|---|---|
ConfigServer(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password,
DatabaseClientFactory.Authentication authType) |
Construct the configuration server specification programmatically.
|
ConfigServer(java.util.Properties properties) |
Construct the configuration server specification based on properties.
|
| Modifier and Type | Method | Description |
|---|---|---|
DatabaseClientFactory.Authentication |
getAuthType() |
|
java.lang.String |
getHost() |
|
java.lang.String |
getPassword() |
|
int |
getPort() |
|
java.lang.String |
getUser() |
public ConfigServer(java.util.Properties properties)
properties - specifies the configuration serverpublic ConfigServer(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password,
DatabaseClientFactory.Authentication authType)
host - the host (often localhost) for the configuration and REST serverport - the port (usually 8002) for the configuration serveruser - the user (often admin) for the configuration serverpassword - the password for the configuration serverauthType - the authentication type (usually DIGEST) for the configuration serverpublic java.lang.String getHost()
public int getPort()
public java.lang.String getUser()
public java.lang.String getPassword()
public DatabaseClientFactory.Authentication getAuthType()
Copyright © 2013-2021 MarkLogic Corporation.