If i access uri on jenkins beyond vase url, eg https://bhaus.gruppe.de/jenkins/job/MyJOB/ i get HTTP 404 .
If i call https://bhaus.gruppe.de/jenkins/ and authenficate with user /pwd ( in my case project matrix against ldap realm) and the call https://bhaus.gruppe.de/jenkins/job/MyJOB/ it works!
My esceptation would be that if not authenficated the user get redirected to login mask and the redirectd to entered url after successfull authefication.
I think its a War file web.xml. configuration issue.
This behaviour is very annoying, esepcially we use a redmine plugin for jenkins which states link in the issue tracker, which beeing clicked lead to 404 because use isn't authorized the first time in the browser session.
We have no SSO although redmine and jenkins are both backed by ldap server, a new login is needed per session.
This problems is old now and again i vote to fix this very soon.
Tx for contribution and help!
I think the conflicting school of thought here is that if it returns 401, it reveals the information that the project exists, which is a problem for some people.
Perhaps 404 page should suggest a login?
Or we can always add a system property that secretly controls the behaviour...