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

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

    Details

    • Similar Issues:

      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 created issue -
          gront Daniel Gront made changes -
          Field Original Value New Value
          Labels ALM
          roy_lu Roy Lu made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          roy_lu Roy Lu made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          roy_lu Roy Lu made changes -
          Status In Review [ 10005 ] In Progress [ 3 ]
          roy_lu Roy Lu made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          roy_lu Roy Lu made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Done [ 10000 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: