Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51239

Send client type in Jenkins Plugin to support API Key in ALM1260

    XMLWordPrintable

Details

    Description

      Send client type when invoking ALM API so that it can be bypass the restriction of access after turning on API Key restriction.

      The correct process is as follows:
      1. customer admin add a client type into extended white list in ALM.
      2. customer admin tells the users the client type name.
      3. users set the client type when executes ALM Jenkins Plug-in.

       
      Example source code to set client type:

      ALM Productized REST scenario:
      • /api/authentication/sign-in:

      Add Header:
      Key Value
      ALM-CLIENT-TYPE %CLIENT_TYPE_NAME%

      ALM Technical Preview scenario
      • /qcbin/rest/site-session:

      Add the following XML node to the posted data:
      <session-parameters>

      <client-type>·</client-type>

      </session-parameters>

      Attachments

        Activity

          roy_lu Roy Lu added a comment -

          Code is ready. Wait for ALM env to test.

          roy_lu Roy Lu added a comment - Code is ready. Wait for ALM env to test.
          roy_lu Roy Lu added a comment -

          QA found issue. Fixing.

          roy_lu Roy Lu added a comment - QA found issue. Fixing.

          People

            roy_lu Roy Lu
            roy_lu Roy Lu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: