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

adminToken is not re-generated during config descriptor bootsrap

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 5.4.6, 5.8.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      There are some situations where you require to regenerate the adminToken stored in Artifactory for the Access server.
      In order for the re-creation to take place, need to remove the tag <adminToken>
      if you have this

       <accessClientSettings>
      <adminToken>avixxxxxxxxx
      </adminToken>
      <userTokenMaxExpiresInMinutes>60</userTokenMaxExpiresInMinutes>
      </accessClientSettings>
      

      in the config descriptor
      the following editing

       <accessClientSettings>
      <adminToken>
      </adminToken>
      <userTokenMaxExpiresInMinutes>60</userTokenMaxExpiresInMinutes>
      </accessClientSettings>
      

      will not work to regenerate the token
      On the other hand, this will work

      <accessClientSettings>
      <userTokenMaxExpiresInMinutes>60</userTokenMaxExpiresInMinutes>
      </accessClientSettings>
      

      and the token will be re-generated

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            aviz Avi Zaig (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: