Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24691

Repository validation doesn't check userSearchFilter properly

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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");
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: