Repository validation doesn't check userSearchFilter properly

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      The com.atlassian.confluence.user.migration.LdapRepositoryConfigurationMigrator does not check the object class component for userSearchFilter in the atlassian-user.xml.

      This is due to this code:

      private void validateObjectClassDefined(List<String> errors, RepositoryConfiguration repositoryConfiguration, String componentName)
      {
          if (validateStringComponentExists(errors, repositoryConfiguration, "groupSearchFilter") &&
                      ectractObjectClass(repositoryConfiguration.getStringComponent("groupSearchFilter")) == null)
          {
              log.error("Property " + componentName + " does not define an objectClass filter");
              errors.add("Property " + componentName + " does not define an objectClass filter");
          }
      }
      

              Assignee:
              Brian Nguyen (Inactive)
              Reporter:
              Brian Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: