janhoy commented on PR #1511:
URL: https://github.com/apache/solr/pull/1511#issuecomment-1492398190

   According to RBAP api, the 
`[getUserRoles()](https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/security/RuleBasedAuthorizationPluginBase.java#L371)`
 call should not return null but empty set. So I think that can be fixed too, 
by making 
[this](https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/security/RuleBasedAuthorizationPlugin.java#L65)
 null-safe.
   
   After coding Kotlin for a few years I really miss its not-null-by-default!
   
   Basically, this looks like a decent solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to