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

anonymous user access triggers Access

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 3 - High
    • Resolution: Unresolved
    • Affects Version/s: 5.8.9
    • Fix Version/s: None
    • Component/s: Access Client
    • Labels:
      None
    • Severity:
      High

      Description

      When Artifactory is accessed using an anonymous user, Artifactory triggers authentication check for the "anonymous" user.

       

      Access's request.log shows:

      2018-08-02T18:20:18.280+0000|127.0.0.1|anonymous|GET|http://localhost:8040/access/api/v1/system/ping|200|0|4|JFrog Access Java Client/4.1.2
      2018-08-02T18:20:18.299+0000|127.0.0.1|anonymous|GET|http://localhost:8040/access/api/v1/cert/root|200|0|12|JFrog Access Java Client/4.1.2

       

      Artifactory's artifactory.log sometimes show following failure:

      2018-07-27 09:04:07,172 [http-nio-8040-exec-62] [ERROR] (o.j.a.s.r.e.m.DefaultExceptionMapper:25) - General exception mapper caught:Could not find user 'anonymous'
      org.jfrog.access.server.exception.AccessStorageException: Could not find user 'anonymous'
          at org.jfrog.access.server.db.service.UserStorageServiceImpl.findUserByUsername(UserStorageServiceImpl.java:173)
          at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
          at org.springframework.a

       

      Request:

      • Do not attempt to authenticate anonymous users

        Attachments

          Activity

            People

            Assignee:
            shayb Shay Bagants
            Reporter:
            joshuah Joshua Han
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-17272 -
                SYNCHRONIZED
                • Last Sync Date: