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

Cannot access JNLP URL with apiToken after upgrade to 1.461

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Accessing the JNLP URL on an OpenID-protected instance does not work anymore after upgrading to 1.461. Reverting to 1.459 makes it work again.

      Error with 1.461:

      Exception: Unexpected authentication type: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@9f6d50cd: Username: hal; Password: [PROTECTED]; Authenticated: false; Details: org.acegisecurity.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Not granted any authorities

      To test:

      curl -kinsecure -u user:apitoken https://localhost/computer/computer-name/slave-agent.jnlp

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sidnei Sidnei da Silva
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: