public static class Bootstrapper.ConfigServer extends Object
Constructor and Description |
---|
Bootstrapper.ConfigServer(Properties properties)
Construct the configuration server specification based on properties.
|
Bootstrapper.ConfigServer(String host,
int port,
String user,
String password,
DatabaseClientFactory.Authentication authType)
Construct the configuration server specification programmatically.
|
Modifier and Type | Method and Description |
---|---|
DatabaseClientFactory.Authentication |
getAuthType() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getUser() |
public Bootstrapper.ConfigServer(Properties properties)
properties
- specifies the configuration serverpublic Bootstrapper.ConfigServer(String host, int port, String user, 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 String getHost()
public int getPort()
public String getUser()
public String getPassword()
public DatabaseClientFactory.Authentication getAuthType()
Copyright © 2013-2015 MarkLogic Corporation.