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

Watches don't work with HTTP SSO

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 4.7.1
    • Fix Version/s: 4.8.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      When HTTP SSO is being used for authentication on a storage event (e.g deployment), Artifactory will not be add a watch event for the corresponding request.

      To reproduce:

      1.Enable HTTP SSO in Artifactory + Add a watcher on libs-release-local
      2.Enable the addon.watch debug logger:
      <logger name="org.artifactory.addon.watch">
      <level value="debug"/>
      </logger>
      3.curl -H "REMOTE_USER: admin" -T /some/file "http://localhost:8080/artifactory/libs-release-local/"
      4.Your log will print this:

      2016-04-11 13:00:21,226 [http-nio-8080-exec-1] [DEBUG] (o.a.a.w.WatchStorageInterceptor:185) - Watch interceptor methods were called, but could not resolve remote address. No action was performed
      2016-04-11 13:00:21,231 [http-nio-8080-exec-1] [DEBUG] (o.a.a.w.WatchStorageInterceptor:100) - Exiting watch interceptor. Not in request context.

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                yinona Yinon Avraham
                Reporter:
                uriahl Uriah Levy
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: