[
https://issues.apache.org/jira/browse/SOLR-17183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gerlowski resolved SOLR-17183.
------------------------------------
Fix Version/s: main (10.0)
9.6.0
Resolution: Fixed
> Improve PKI auth logging
> ------------------------
>
> Key: SOLR-17183
> URL: https://issues.apache.org/jira/browse/SOLR-17183
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Authentication, logging
> Affects Versions: main (10.0), 9.5.0
> Reporter: Jason Gerlowski
> Assignee: Jason Gerlowski
> Priority: Minor
> Fix For: main (10.0), 9.6.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]