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

Support QueueItemAuthenticator.authenticate(Task)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently the two QueueItemAuthenticator implementations in this plugin implement authenticate(Item) but they should also implement authenticate(Task). The fallback implementation works, but using a somewhat scary trick. Better to override it to do what you need. Implies that AuthorizeProjectStrategy also needs an authenticate(Job) method taking no Queue.Item. (TriggeringUsersAuthorizationStrategy is the only one to actually use this parameter; for that strategy, authenticate(Task) must return null.)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: