Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70239

LDAPUserImporterImpl performs an unbounded query for all users in a user group

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.0 DXP FP10
    • Fix Version/s: None
    • Labels:

      Description

      LDAPUserImporterImpl.importUsers(long ldapServerId, long companyId, LdapContext ldapContext, Properties userMappings, Properties userExpandoMappings, Properties contactMappings, Properties contactExpandoMappings, long userGroupId, Attribute attribute, Set<String> ldapUserIgnoreAttributes) throws Exception;

      Fetches all users in a user group which does not scale well to large user groups:
      List<User> userGroupUsers = _userLocalService.getUserGroupUsers( userGroupId);

      A more intelligent mechanism should be used.

        Attachments

          Activity

            People

            • Assignee:
              marta.medio Marta Medio
              Reporter:
              edward.han Edward Han
              Participants of an Issue:
              Recent user:
              Brian Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 46 weeks, 2 days ago

                Packages

                Version Package