Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17183

Improve PKI auth logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • main (10.0), 9.5.0
    • main (10.0), 9.6
    • Authentication, logging
    • None

    Description

      PKIAuthenticationPlugin produces some very useful log messages, at 'INFO' level no less. But there's still some room for improvement, particularly in differentiating various types of error cases. Some examples of things that could be improved:

      • No message highlights when a request was rejected because the sending node (according to the header) cannot be found in /live_nodes.
      • "Could not load principal from SolrAuthV2 header" is logged regardless of whether the v1 or v2 header format is provided on the request.

      We should fix these, and other quirks of PKIAuthentication's logging that we find on inspection.

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h