smolnar82 commented on code in PR #1236:
URL: https://github.com/apache/knox/pull/1236#discussion_r3278829756


##########
gateway-server/src/main/java/org/apache/knox/gateway/services/ldap/backend/LdapProxyBackend.java:
##########
@@ -131,13 +133,16 @@ public void initialize(Map<String, String> config) throws 
Exception {
         userIdentifierAttribute = 
config.getOrDefault("userIdentifierAttribute", "uid");
         groupMemberAttribute = config.getOrDefault("groupMemberAttribute", 
"memberUid");
         useMemberOf = Boolean.parseBoolean(config.getOrDefault("useMemberOf", 
"false"));
+        recursiveGroupResolution = 
Boolean.parseBoolean(config.getOrDefault("recursiveGroupResolution", "false"));
+        groupMaxDepth = Integer.parseInt(config.getOrDefault("groupMaxDepth", 
"10"));

Review Comment:
   Yeah, this is deep indeed; let me change it to `3`, it's configurable anyway.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to