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

Unhandled UsernameNotFoundException may appear in BasicAuthenticationFilter::doFilter()

    Details

    • Similar Issues:

      Description

      The issue may happen if somebody manages to attach an API token when "user is not a valid user in the backend SecurityRealm." (http://javadoc.jenkins-ci.org/hudson/model/User.html#impersonate%28%29).

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Is this really a use case we want to support? With the tokens no longer being admin-visible, I think we decided this is not valid.

          Show
          danielbeck Daniel Beck added a comment - Is this really a use case we want to support? With the tokens no longer being admin-visible, I think we decided this is not valid.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Daniel Beck Missed the comment. I have added the pull request link, I am fine with closing as Not a defect

          Show
          oleg_nenashev Oleg Nenashev added a comment - Daniel Beck Missed the comment. I have added the pull request link, I am fine with closing as Not a defect
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          After the PR review Wadeck Follonier and Daniel Beck said that it is probably not required since the issue cannot really happen. Since there is no other votes, I will just close the ticket

          Show
          oleg_nenashev Oleg Nenashev added a comment - After the PR review Wadeck Follonier and Daniel Beck said that it is probably not required since the issue cannot really happen. Since there is no other votes, I will just close the ticket

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: