HudsonAuthenticationEntryPoint can break CLI support, because the port isn't exposed properly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      layout.jelly exposes a number of HTTP headers that the cli client uses:
      X-Hudson-CLI-Port
      X-Jenkins-CLI-Port
      X-Jenkins-CLI2-Port
      X-Jenkins-CLI-Host

      Because HudsonAuthenticationEntryPoint doesn't use that layout when it serves a 403, the necessary HTTP headers are missing. If the redirection is external (as is the case with the openid plugin), it breaks CLI support completely.

      I've implemented a potential fix here:
      https://github.com/jenkinsci/jenkins/pull/836

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Luke Petre
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: