Secure AD configuration for OAUTH2 mode

Description

Example secure AD parameters for NSP OAUTH2 mode are shown below.

ldap:

  enabled: true

  servers:

    - type: "AD"

      name: "Ldap Server 2"

      url: "ldaps://our-AD-servername:636"

      priority: 5

      usernameLdapAttribute: "cn"

      rdnLdapAttribute: "cn"

      uuidLdapAttribute: "cn"

      userObjectClasses: "person,organizationalPerson,user"

      customUserLdapFilter: ""

      searchScope: 2

      security: "SSL"

      timeout: 5000

      userDn: "cn=myserver,dc=mycompany,dc=com"

      userFilter: ""

      groupDn: "cn=groups,cn=myserver,dc=mycompany,dc=com"

      groupNameLdapAttribute: "cn"

      groupObjectClasses: "group"

      groupObjectClasses: "group"

      groupMembershipLdapAttribute: "member"

      groupMembershipUserLdapAttribute: "cn"

      groupMemberOfLdapAttribute: "memberOf"

      bind:

        dn: "cn=manager,cn=myserver,dc=mycompany,dc=com"

        credential: "password"

      minPoolSize: 0

      maxPoolSize: 10