[x] Refactor the user filtering by identity and non identity claims code based.
Simplify the logic of user filtering by different types of claims and different situations.
[x] Improve the user filtering by both identity and non identity claims when the both claims stored in separate data stores. (Identity claims in identity store)
Proposed a new approach for identity and non identity filter aggregation.
Previous approach
New Approach
Based on the performance analysis, with respect to CPU usage and memory usage, if the current approach leads to higher resource usage of server we will have to improve the logic to process data into 2 or 3 chunks without much sacrificing the performance of the filtering.
Purpose
Proposed changed from this PR
[x] Refactor the user filtering by identity and non identity claims code based.
[x] Improve the user filtering by both identity and non identity claims when the both claims stored in separate data stores. (Identity claims in identity store)
Related Issues
Public Fix
Related Issues