Fusion

Version 5.1
How To
Documentation
    Learn More

      Active Directory Security Trimming Stage

      An Active Directory Security Trimming query pipeline stage retrieves an Active Directory user’s security identifiers to build a security filter. This restricts the documents in the query result to only those documents for which a user has access permissions. Security trimming is commonly used in business to authenticate between administrative users and normal users, or to limit the site access of website users according to a login/password.

      This stage supports asynchronous processing.

      Example Stage Setup

      Active Directory Security Trimming query stage setup:

      Input
      curl -u user:pass -X POST -H 'Content-type: application/json' -d '{"id":"ADSecurity", "type": "active-directory-security-trimming", "server":"ldap://hostname:port","bindName":"ADuser@example.com","bindPassword":"login1"}' http://localhost:8764/api/query-stages/instances
      Output
      {
        "type" : "active-directory-security-trimming",
        "id" : "ADSecurity",
        "server" : "ldap://hostname:port",
        "bindName" : "ADuser@example.com",
        "bindPassword" : "login1",
        "enableCache" : true,
        "cacheSize" : 1000,
        "expirationTime" : 3600,
        "skip" : false,
        "label" : "active-directory-security-trimming",
        "type" : "active-directory-security-trimming"
      }

      Configuration

      When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.

      When using Fusion's REST API, the ID for this stage is:active-directory-security-trimming.

      Loading liquid template...

      Loading configuration schema...