[ 
https://issues.apache.org/jira/browse/SOLR-9042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ishan Chattopadhyaya updated SOLR-9042:
---------------------------------------
    Attachment: SOLR-9042.patch

Attaching a patch. Perhaps the permission.wellKnownName could also have been 
logged, but left it out for now. [~noble.paul], can you please review?

> Logging fixes RuleBasedAuthorization's principal and permission
> ---------------------------------------------------------------
>
>                 Key: SOLR-9042
>                 URL: https://issues.apache.org/jira/browse/SOLR-9042
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ishan Chattopadhyaya
>         Attachments: SOLR-9042.patch
>
>
> In the current logs, the permission object, which doesn't have a toString(), 
> is logged. Instead, the permission.name might be more meaningful. Also, 
> principal.getName() is used in the authorization rules, so logging that would 
> be better than the entire principal object.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to