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

Nullpointer in AuditEvent when initialized from AuthorizationContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2, 8.3, 8.4
    • Fix Version/s: 8.5
    • Component/s: Auditlogging
    • Labels:
      None

      Description

      If you enable Authentication with blockUnknown=false together with an AuditLoggerPlugin, and then invoke a request without any credentials (results in 401), then an AuditEvent constructor taking AuthorizationContext as argument is invoked, resulting in NPE when attempting to copy SolrParams from AuthContext over to AuditEvent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                janhoy Jan Høydahl
              • 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 - 20m
                  20m