Uploaded image for project: 'NiFi Registry - MOVED TO NIFI PROJECT'
  1. NiFi Registry - MOVED TO NIFI PROJECT
  2. NIFIREG-131

Add logging authentication failure cases

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1.0
    • 0.2.0
    • None
    • None

    Description

      The handling for unauthenticated requests made to a secured Registry instance swallows authentication exceptions with a vague error message: "AuthenticationEntryPoint invoked as no user identity credentials were found in the request." and an HTTP 401 response is returned with no body to aide in client troubleshooting.

      We should add more useful troubleshooting information (including the root cause) to the logs and some guidance information for the client to the response body.

      Attachments

        Issue Links

          Activity

            People

              kdoran Kevin Doran
              kdoran Kevin Doran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: