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

Secured pages should redirect to login prompt instead of generating 404

      Using version 1.475

      We have set our permissions to disallow anonymous "read job". What ends up happening is that when you are logged out and try to access a build or a job (Example: http://jenkins.core:8080/job/campaign-management%20release-candidate/210/) Jenkins returns 404 instead of redirecting you to the log-in page. At the minimum, it should display an error message that you are not authenticated.

      Error returned below:

      Status Code: 404

      Exception:
      Stacktrace:
      (none)

      Generated by Winstone Servlet Engine v0.9.10 at Wed Aug 08 16:00:55 EDT 2012

          [JENKINS-14736] Secured pages should redirect to login prompt instead of generating 404

          Alex Rovner created issue -
          Klokie Grossfeld made changes -
          Labels New: 404 authentication error security
          Klokie Grossfeld made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Joshua Ayson made changes -
          Link New: This issue is blocking JENKINS-13999 [ JENKINS-13999 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145432 ] New: JNJira + In-Review [ 191485 ]
          Jenkins IRC Bot made changes -
          Component/s New: _unsorted [ 19622 ]
          Component/s Original: security [ 15508 ]

            Unassigned Unassigned
            arov Alex Rovner
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: