-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Version of MarkLogic Java Client API
4.1.1-develop
Version of MarkLogic Server
9.0 nightly
Java version
1.8
OS and version
Linux
Input:
/**
* Creates a client to access the database by means of a REST server.
*
* @param host the host with the REST server
* @param port the port for the REST server
* @param database the database to access (default: configured database for
* the REST server)
* @param securityContext the security context created depending upon the
* authentication type - BasicAuthContext, DigestAuthContext or KerberosAuthContext
* and communication channel type (SSL)
* @return a new client for making database requests
*/
static public DatabaseClient newClient(String host, int port, String database, SecurityContext securityContext) {
return newClient(host, port, null, securityContext, null);
}
The return should have database passed in the call instead of null.