Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-311

Provide to the LDAP store a configuration that allows to specify the hierarchy search depth

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • PLINK_2.5.3.Beta1
    • PLINK_2.5.2.FInal
    • IDM
    • None

    Description

      Currently the LDAP store supports mapping the hierarchy for a specific type as follows:

      .mapping(Group.class)
          .objectClasses("group").attribute("name", "cn", true)
          .readOnlyAttribute("createdDate", "whenCreated")
          .parentMembershipAttributeName("member") // hierarchy configuration, using the member attribute to hold a reference to child entries
      

      Given that some LDAP trees have deep hierarchies, we need a configuration that allows to specify the search depth when returning the type and its parents:

      .mapping(Group.class)
          .objectClasses("group").attribute("name", "cn", true)
          .readOnlyAttribute("createdDate", "whenCreated")
          .parentMembershipAttributeName("member") // hierarchy configuration, using the member attribute to hold a reference to child entries
          .hierarchySearchDepth(4) // only for levels will be retrieved.
      

      We can make this option defaults to 3.

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            psilva@redhat.com Pedro Igor Craveiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: