Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get totalResults Value by Total User Count in SCIM2 User API #547

Merged
Original file line number Diff line number Diff line change
@@ -1681,8 +1681,7 @@ private Set<org.wso2.carbon.user.core.common.User> filterUsersByGroup(Node node,
try {
List<String> roleNames = getRoleNames(attributeName, filterOperation, attributeValue);
Set<org.wso2.carbon.user.core.common.User> users;
if ((isJDBCUSerStore(domainName) || isAllConfiguredUserStoresJDBC()) &&
SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) {
if (SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) {
users = getUserListOfGroups(roleNames);
} else {
users = getUserListOfRoles(roleNames);