Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18130

artifactory.search.limitAnonymousUsersOnly System Property does nothing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Search
    • Labels:
      None

      Description

      Due to the fix in RTFACT-12512, Anonymous searches are intentionally limited in order to prevent large queries from draining system resources.

      An Artifactory System Property was created to disable this restriction. However, enabling or disabling the property does not change the limits placed on the Anonymous user.

      Steps to reproduce:

      1. Set the following tags in your $ART_HOME/etc/artifactory.system.properties
        artifactory.search.limitAnonymousUsersOnly=false
        artifactory.search.userQueryLimit=2
      2. Restart Artifactory
      3. Run a GAVC search against a repository with at least 3 file coordinates anonymously:
        curl -vvv "http://localhost:8081/artifactory/api/search/gavc?g=jfrog&repos=libs-snapshot-local"
      1. Observe that only 2 results are returned when the request is ran anonymously. 

      Setting the value to "true" produces the same results, indicating the setting is not being used. The only setting that affects anonymous searches is the artifactory.search.userQueryLimit argument.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: