Skip to main content

Securing MarkLogic Server

Configuring MarkLogic Server for External Security

External security happens in three major steps:

  1. MarkLogic Server authenticates an app server user by communicating with an external agent through information stored in the external security object.

  2. Once the external agent responds with the information that identifies the user, MarkLogic Server extracts from it values to match to external names.

  3. MarkLogic Server authorizes the user by matching those external names to either internal users or roles.

To configure MarkLogic Server for external security, follow this outline:

  1. Sign up with the external agent of your choice. How to choose one and sign up is beyond the scope of this guide.

  2. Create your external security object with the information gleaned from what your external agent provided when you signed up. This information includes attribute names, field names, and other connection details required for the integration and translation of the authentication response. You can create an external security object through one of these methods:

  3. Configure your app servers to use your desired authentication type and external security object.

  4. Assign attributes or field values from the external agent as external names:

Note

All examples in this section were run on a freshly installed instance of MarkLogic Server.