In addition to basic, digest, and certificate authentication, the Node.js Client API supports Kerberos authentication on MarkLogic servers.
The Node.js Client API uses the kerberos module to support Kerberos authentication and requires (on Linux):
- MIT Kerberos (for communicating with the Key Distribution Center)
- gcc and g++
- Python 2.7
- node-gyp
Windows requires additional libraries. See the kerberos documentation for details.
The kerberos module is listed as an optional dependency in the Node.js Client API package.json. To skip installing optional modules during npm install, use the --no-optional flag:
npm install --no-optional