Bug 460839 - Login redirect does not work consistently
Summary: Login redirect does not work consistently
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Core (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact: Geoff Waymark CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 13:05 EST by Stuart Lorber CLA
Modified: 2015-02-25 15:25 EST (History)
4 users (show)

See Also:


Attachments
Redirect Video (9.86 MB, application/x-shockwave-flash)
2015-02-25 13:05 EST, Stuart Lorber CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Lorber CLA 2015-02-25 13:05:24 EST
Created attachment 251106 [details]
Redirect Video

If a user navigates, for instance, to a Hudson configuration location and saves the link and logs out and then pastes in that link the "old style" login screen is presented.

If a user pastes in a job location they get a 404.

In both cases they should get a login screen and then get redirected (if they have authority) to the proper location.

Also note that the newer login panel should probably be displayed in both cases.

A video of both cases (viewable in Safari) is attached.

This ticket is based on a conversation with Winston during the bi-weekly community call.
Comment 1 Stuart Lorber CLA 2015-02-25 13:38:12 EST
Note: We are using the Hudson internal database for security.
Comment 2 Stuart Lorber CLA 2015-02-25 13:39:11 EST
It would also be nice if a user is given a URL they are not authorized for they get a message "not authorized" rather than a 404 which is also what happens now.

This should happen with the "Remember Me" option also.
Comment 3 Bob Foster CLA 2015-02-25 15:25:24 EST
These should actually get a 401, Unauthorized. Use of 404 is all over Hudson, so should be "interesting" to fix.