Skip to content

Commit

Permalink
Remove JDBC check in filterUsersByGroup method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaura committed Mar 29, 2024
1 parent cf636c7 commit 2fb85ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2057,8 +2057,7 @@ private Set<org.wso2.carbon.user.core.common.User> filterUsersUsingLegacyAPIs(Ex
try {
if (SCIMConstants.UserSchemaConstants.GROUP_URI.equals(attributeName)) {
List<String> roleNames = getRoleNames(attributeName, filterOperation, attributeValue);
if ((isJDBCUSerStore(domainName) || isAllConfiguredUserStoresJDBC()) &&
SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) {
if (SCIMCommonUtils.isRetrieveTotalResultsByUserCountEnabled()) {
users = getUserListOfGroups(roleNames);
} else {
users = getUserListOfRoles(roleNames);
Expand Down

0 comments on commit 2fb85ef

Please sign in to comment.