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

Import of Service_ID does not invalidate the previous adminToken and create a new one

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.4.0, 6.5.8
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      Steps to reproduce

      1. Import a new Service ID by placing creating a file under the primary node in $ARTIFACTORY_HOME/etc/security/access/keys/service_id. E.g.:

      jfrt@01cxw7ehyhf6yb025z7whn098v
      

      2. Check the artifactory.log and see that the service ID was updated:

      2018-12-04 16:49:42,832 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:370) - Initialized new service id: jfrt@01cxw7ehyhf6yb025z7whn098v
      

      3. See that the adminToken under the file system (above 6.4.0) remained unchanged:

      etc/security/access/access.admin.token

      Workaround:

      Delete the adminToken from the config descriptor for standalone instances, or on the primary node and restart the nodes one by one. A new one would be created after the restart.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andreik Andrei Komarov
              Reporter:
              andreik Andrei Komarov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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