David Han created KNOX-3585:
-------------------------------

             Summary: Optimize roles lookup for large result sets
                 Key: KNOX-3585
                 URL: https://issues.apache.org/jira/browse/KNOX-3585
             Project: Apache Knox
          Issue Type: Improvement
          Components: LDAP
    Affects Versions: 3.0.0
            Reporter: David Han
            Assignee: David Han
             Fix For: 3.1.0


The roles lookup interceptor makes a lookup call for each user entry. If the 
entry set is large, this may result in 1000s of calls to the roles lookup 
server before the results are returned.

If the number of results are greater than the number of roles, it would be 
faster to retrieve all roles from the role server and perform the mapping in 
the roles lookup interceptor.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to