From 2fb85efb82fea5e1858d5c0bc2ecd62cb3e51d66 Mon Sep 17 00:00:00 2001 From: dhaura Date: Fri, 29 Mar 2024 16:43:29 +0530 Subject: [PATCH] Remove JDBC check in filterUsersByGroup method. --- .../carbon/identity/scim2/common/impl/SCIMUserManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java index aa818eb8..df8af7a1 100644 --- a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java +++ b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java @@ -2057,8 +2057,7 @@ private Set filterUsersUsingLegacyAPIs(Ex try { if (SCIMConstants.UserSchemaConstants.GROUP_URI.equals(attributeName)) { List roleNames = getRoleNames(attributeName, filterOperation, attributeValue); - if ((isJDBCUSerStore(domainName) || isAllConfiguredUserStoresJDBC()) && - SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) { + if (SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) { users = getUserListOfGroups(roleNames); } else { users = getUserListOfRoles(roleNames);