-
Feature Request
-
Resolution: Done
-
Major
-
PLINK_2.5.2.FInal
-
None
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.